Solution
For this case we can create the following schema
We can use the definition of distance:
x= vt
We can find the relative velocity:
And the distance between both is required to be 2 mi so then we can find the time like this:
Then the answer is:
1 hr