In the design of a rapid transit system, it is necessary to balance the average speed of a train against the distance between station stops. The more stops there are, the slower the train's average speed. To get an idea of this problem, calculate the time it takes a train to make a 39.0-km trip in two situations. In each case, assume that at each station the train accelerates at a rate of 1.00 m/s2 until it reaches a speed of 94.0 km/h, then stays at this speed until its brakes are applied for arrival at the next station, at which time it decelerates at -2.00 m/s2. Assume also that the train stops at each intermediate station (those not at the ends) for 22 s.

How long does it take the train to make the trip if there are a total of 5 stations (including those at the ends), which are 9.75 km apart? Give your answer in minutes.