6 cars, 28 passengers, 5 bays. 40 seconds on the clock.
28 waiting
You have 40 seconds, starting at your first tap. A bump costs 3 seconds.
Call the cars to the stop in this order: 4, 6, 3, 5, 1, 2.