Factor out of .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

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 .

Multiply by .

Solve for x 5/x=4/8