Factor using the perfect square rule.

Rewrite as .

Check the middle term by multiplying and compare this result with the middle term in the original expression.

Simplify.

Factor using the perfect square trinomial rule , where and .

Simplify the denominator.

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 .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Combine the numerators over the common denominator.

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify and combine like terms.

Simplify each term.

Multiply by .

Move to the left of .

Multiply by .

Add and .

Apply the distributive property.

Multiply by .

Subtract from .

Add and .

Subtract from .

Subtract (x+4)/(x^2+6x+9)-1/(x^2-9)