Given:
Total distance = 60miles
Ken speed 40 mph faster than Joe.
Joe take 2 hours longer than Ken.
Find-:
Joes speed
Sol:
Formula of speed is:

Let Joe's speed is "x"
Then Ken's speed is "x+40"
Let Ken take time is "t"
Then Joe takes time is "t+2"
For Joe's speed:

So, speed is:

For Ken's speed:

So, speed is:

From eq(2) put the value of "t" in eq(1) then:

Then, solve for "x"

Solve the quadratic equation then:

Negative speed not possible so Joe speed is 20 mph