Total distance = 277 miles
Rate of first part trip = 54 miles per hour
Rate of the second part trip = 56 miles per hour
Total time = 5 hours
let
t = travel time of first part
5 - t = travel time of second part
Therefore,
First part distance
Second part distance
Total distance equation
Travel time of first part trip = 1.5 hours
Travel time of second part trip = 5 - 1.5 = 3.5 hours