Distance = (Rate)(Time), so Time = Distance/Rate
Let x = speed of motorboat
Then x+10 = speed of jet ski
Time in motorboat + Time on jet ski = 4
So, 124/x + 45/(x+10) = 4
124(x+10) + 45x = 4x(x+10)
169x + 1240 = 4x2 + 40x
4x2 - 129x - 1240 = 0
Now, use the quadratic formula to solve for x.