Three days in Beijing
The palace quarter, a garden day, and the Summer Palace on its own.
Beijing Capital and Beijing Daxing are both a long way from Tiananmen. Come to Tiananmen and start from the square. Day 1 is the Forbidden City and Jingshan. The Summer Palace is a later day, and the Great Wall is not a center-city afternoon. The ride from either airport is long enough that the palace and the hill should be the whole of the arrival.
Day 1 is the Forbidden City and Jingshan. Give the palace the morning and the hill the time after it. Keep them as a pair in the same quarter. Do not break them apart with a ride to another part of the city. Eat nearby once when you come down from Jingshan, still near Tiananmen. If the morning ends early, that is allowed. The Summer Palace is not the remedy, and the Great Wall is not a center-city afternoon you can still reach. Stay with the palace and the hill until you are finished with them, then stop.
Day 2 stays near the center. Beihai is the lake garden. Give the morning to the water there, and let it be a walk rather than a name you pass between rides. Use the rest of the day for one neighborhood you already liked, not for a dash across the ring roads. If that neighborhood is the palace quarter, go back and remain there. If it is Beihai, remain at Beihai. One neighborhood means one. Crossing the ring roads to touch a third area leaves you with fragments, and with most of the day spent between them. The Summer Palace is still tomorrow. The wall is still not today.
Day 3 is the Summer Palace, in the northwest. It wants a morning. Go while the day is fresh and give it the kind of time you gave the Forbidden City, without a central visit set in front of it. The Great Wall is also a morning, and it is not the same day. Choose the palace for this morning. If the wall is what you want, it needs a different morning entirely. Do not put the two on the same day and call that a plan. The wall does not become a center-city afternoon by following the Summer Palace. See the palace, come back toward the center, and stop.