Multiply the numerator by the reciprocal of the denominator.

Since both terms are perfect squares, factor using the difference of squares formula, where and .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Combine the opposite terms in .

Reorder the factors in the terms and .

Subtract from .

Add and .

Simplify each term.

Multiply by .

Multiply by by adding the exponents.

Move .

Multiply by .

Simplify ((m^2-n^2)/(m+n))/(m/(m^2+nm))