Between 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 is 1:8:1 and the maximum speed attained be 60 km h-1, then what is the average speed over the whole journey?