here might be a faster way to do it.
sort of like trial and error, without actually calculating it.
suppose both runners run for 1/10 hour (6 min)
Runner A would run 1 mile, runner B would run 1.5 miles.
Which is already greater than 2 miles
meaning the answer is less than 6 min
possible choices are
0.48 min, 4.8 min, 0.16 min
it will definetly take more than one min
so, the only possible answer is 4.8 min
it's really up to you how u solve it.
but for me this is a lot faster than setting up the equation and solving it.