A train travels a total distance of 600km in eight hours.It travels the first 120 km at a speed of 60km/h, travels the next 180km in two hours and then completes the trip at an unknown speed. What was the average speed of the train for the last leg of the trip? What is the average speed of the train for the entire trip?