Each train shows the platform it needs. Set the switch before it reaches the junction. Three wrong platforms and you're off the job.
Press 1, 2, 3 (or ↑ ↓) to set the switch, or tap a platform button. Match each train's letter and color to its platform.