A submarine took 9 hours to complete a journey. For the first 5
hours, it travelled at an average speed of 106 km/h. For the rest
of the journey, it travelled at an average speed of 125 km/h.
What was the total distance of the journey?