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