A train starts from rest at station A and accelerates at 0.5 m/s 2 for 60 s. Afterwards it travels with a constant velocity for 15 min. It then decelerates at 1 m/s2 until it is brought to rest at station B. Determine the distance between the stations.