At the end of a wild roller-coaster ride, the train of cars must come to a graceful stop at the loading station. Before the brakes are applied, the speed of the train is 8 m/s, and the distance it travels on horizontal rails with the brakes applied is 32 meters. What is the magnitude of the acceleration of the train, assuming that it is constant?