Let the speed at which John is going towards Leakey = x mph
Time taken to reach Leakey = 4 hours
Distance = speed * time
So let the distance of Leakey from John's house be 4x ............. (1)
Speed while returning was 20 mph less = (x-20)
Time taken was= 7 hours
distance = (x-20)*7 ................(2)
As the distance remains the same, equation 1 = equation 2
[tex]4x=7(x-20)[/tex]
[tex]4x=7x-140[/tex]
[tex]3x=140[/tex]
[tex]x=\frac{140}{3}[/tex]
So, the speed is [tex]\frac{140}{3}[/tex] mph
Distance = 4x
= [tex]4*\frac{140}{3}= 186.667[/tex]
Hence, the distance of Leakey from John's house is 186.667 miles.