If you want to go to Beijing South Railway Station, take the 9 16 bus to Dongzhimen, and then take the 106 tram. You can go directly to Beijing South Railway Station.
If you go to Yungang Nangong, just follow the above route to Beijing South Railway Station and take 458.