.
The time equation is
+ = 5 hours.
The solution you can guess mentally: r = 45 km/h from A to B.
Then the average speed from B to C is 45+20 = 65 km/h.
By the way, notice that the left side of the equation is the function of "r",
monotonically decreasing with variable "r" in positive domain.
So, if you guess one solution, you can be sure that this solution is UNIQUE and there is NO other solution.
So, such "guessing", accompanied with noticing about monotonicy is logically absolutely strict way to solve the problem.
Alternatively, you may reduce the problem to quadratic equation and solve it.
In any case, from my post you just know the answer.