Do this first
Nave, gallery and the Scala museum are the day. If you take the roof, skip the opera night. Enter Palazzo Reale only for a show you want. Prices, security and last trains follow official sites.
After the nave
After the nave, add only the gallery and the Scala museum. The roof queue is its own block. If you take the roof, do not buy an evening performance. Skip Palazzo Reale unless the show is the one you want.