This is simply an exercise in algebraic manipulation.
The first term simply becomes o2r/(m3 + n2).
Clear fractions, i.e. multiply both sides by (m3 + n2) and expand the right side.
The collect terms. You will have a messy coefficient for r on the left and a messy expression without r on the right.
Then just divide to get r = quotient of two messy terms!