Use the formula: distance = rate x time
For 1/4 of the distance, the plane will have traveled (1/4) * 1200 = 300 km
Using the above formula and letting t1 represent the time traveled, we have the following equation:
300 = 840t1
The remainder of the distance will be 1200 - 300 = 900 km. Let t2 = the time traveled for this leg of the flight. For this portion of the trip, we have this equation:
900 = 600t2
Solving for t1 gives us t1 = 300/840 = 5/14 of an hour
Solving for t2 gives us t2 = 900/600 = 3/2 = 1.5 hours
The entire trip will take t1 + t2 = 5/14 + 3/2 = 5/14 + 21/14 = 26/14 = 13/7 = 1 6/7 hours.