Let
x--------> the time in hours
y-------> the distance in miles
we know that
The speed is equal to

in this problem


Equation First Train

Equation Second Train

---------> equation

Substitute the values of
and
in the equation


Solve for x


therefore
the answer is
