Choose how you use Shanghai
Shanghai can be the whole trip, the first city, or the city you fly home from.
Stay in ShanghaiCITY
Shanghai city days
Pudong or Hongqiao arrival, hotel nights, and private city days. A Suzhou or Hangzhou day only if you ask for it.

THEN WEST
Shanghai into the Golden Triangle
Start in Shanghai, then Beijing and Xi'an. Say which city you want first if the flight forces a different order.

EXIT
Finish in Shanghai
Tour Beijing and Xi'an first, then use Shanghai for a last city day and the flight home.