You can
put this solution on YOUR website!Since we are using two different time variables I think it is best to convert everything to one unit or the other. I am going to convert everything into minutes.
1hour = 60min

In these equations X = time & Y = distance.
Equation 1:

The X+2 is the diffence in the arrival times. 1 minute ealry + 1minute late = 2 minutes.
Equation 2:

Since both equations equal Y, we can set these equations equal to each other.

Simplify

Subtract 0.6667X from both sides

Factor out the X

Simplify

Divide both sides by 0.08333

Now we know that the time traveled was 16 minutes
Plug 16 in for X into one of the given equations
Equation 2:

Equation 1:
You can
put this solution on YOUR website!Here is yet another way, perhaps simpler.
Day 1 drive 40 miles per hour and arrive one minute late.
Day 2 drive 45 miles per hour and arrive one minute early.
How far do you drive to work
:
Let t = time to drive to work at 45 mph
then
(t+

) = time to work at 40 mph (takes 2 min longer)
which is
(t+

)
;
The distance both days is the same, write a dist equation d = speed * time
:
day 1 dist = day 2 dist
40(t+

) = 45t
:
40t +

= 45t

= 45t - 40t
5t =

t =

*

t =

hr
:
Find the dist
45 *

= 12 mi