Assign some variables.
Uniform Rates Travel Rule, RT=D to relate rate, time, distance;
also can be used as R=D/T.
Direction speed time distance
WITH r+w t m
AGAINST r-w t n
See that the same number in the same variable t is used for both directions. The question asks for r, but not for t.
Direction speed time distance
WITH r+w t=m/(r+w) m
AGAINST r-w t=n/(r-w) n
Equate the two formulas for time t:
This equation uses only one unknown variable, r, which is what the question asks to find. Solve the equation for r.