Both runners are running at a constant speed. Say that the fastest runner goes at speed [tex] v_f [/tex] (for fast) and the slowest goes at speed [tex] v_s [/tex] (for slow).
Let's start the observation at the moment of the passing: the two runners are in the exact same position. The laws that determine their position in the future are
[tex] \text{fast runner: } s_f = v_ft,\quad \text{slow runner: } s_s = v_st [/tex]
This means that the difference between the two positions is given by
[tex] s_f-s_s = v_ft-v_st = (v_f-v_s)t [/tex]
Now we plug in the fact that the faster speed is four more than the slower speed, i.e. [tex] v_f = v_s+4 [/tex]. The equation for the difference becomes
[tex] s_f-s_s = (v_f-v_s)t = (v_s+4-v_s)t = 4t [/tex]
And we want this difference to be 5/8 miles, so the request is
[tex] \cfrac{5}{8} = 4t [/tex]
To solve for t, divide both sides by 4 to get
[tex] \cfrac{5}{32} = t [/tex]
So, after 5/32 of a hour the two runners will be at 5/8 miles from each other.