Between the two stations, a train accelerates from rest uniformly at first, then moves with constant velocity and finally retards uniformly to come to rest. If the ratio of the time taken be 1:8:1 and the maximum speed attained be 60 km/h, then, what is the average speed over the whole journey?