If you drive 15 mi per hour, you will be covering 15 miles each other you travel.
If you know the total distance traveled, then you can simply divide it by speed to get the time it takes to cover that distance.
In this case distance =20 mi
speed = 15mi/hr
time = distace/speed