Rewrite as .

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

To write as a fraction with a common denominator, multiply by .

To write as a fraction with a common denominator, multiply by .

Multiply and .

Multiply and .

Reorder the factors of .

Combine the numerators over the common denominator.

Apply the distributive property.

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by .

Apply the distributive property.

Multiply by .

Add and .

Combine the numerators over the common denominator.

Subtract from .

Factor by grouping.

For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .

Multiply by .

Rewrite as plus

Apply the distributive property.

Factor out the greatest common factor from each group.

Group the first two terms and the last two terms.

Factor out the greatest common factor (GCF) from each group.

Factor the polynomial by factoring out the greatest common factor, .

Cancel the common factor.

Rewrite the expression.

Simplify (2x)/(x+2)+5/(x-2)-16/(x^2-4)