A train travels in a straight line at a constant speed of 60 km/h for a particular distance d and then travels another distance equal to 2d in the same direction at a constant speed of 80 km/h in the same direction as it was previously going, What is the average speed of the train during the whole journey?