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, 1, 7, 3, 4, 2, 6.