Assume Ali's speed is v , then John's speed is v+2 , km/h.
Time spent: by Ali is v20 , by John is v+220+4 ., h.
Given that John spent 5 minutes (1/12 hour) more, we can make the equation
v20+121=v+220+4
To get rid of fractions we multiply the left and right sides of the equation by 12v(v+2)
20∗12(v+2)+1∗v(v+2)=24∗12v
v2−46v+480=0
(v−16)(v−30)=0
v1=16, v2=30
The problem has two solutions:
1) Ali's speed is 16 km/h, John's speed is 18 km/h.
2) Ali's speed is 30, John's speed is 32.
Comments
Please can u work in m/s. Sorry I didn't add that part sooner. And how did u get to divide by 12v(v + 2)