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