A train travelled a certain journey and is supposed to arrive at midday. When its average speed is 40km/h, it arrives at 1pm. When its average speed is 48km/h, it arrives at 11am. What is the length of the journey?