Multiply the numerator of the first fraction by the denominator of the second fraction. Set this equal to the product of the denominator of the first fraction and the numerator of the second fraction.

Rewrite the equation as .

Multiply by .

Divide each term by and simplify.

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Divide by .

Solve for r 8/r=2/5