If we let
x and t1 as the distance traveled and the travel time, respectively using the first route
y and t2 as the distance traveled and the travel time, respectively using the second route
Then we have the equations:
x = 25 t1
y = 30 t2
y = x + 5
t2 = t1 - 10/60
Solving of x, y, t1 and t2
x = 50 mi
y = 55 mi
t1 = 2 hr
t2 = 1.83 hr