Factor using the AC method.

Consider the form . Find a pair of integers whose product is and whose sum is . In this case, whose product is and whose sum is .

Write the factored form using these integers.

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 .

Reorder the factors of .

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 .

Rewrite as .

Multiply by .

Add and .

Apply the distributive property.

Multiply by .

Subtract from .

Subtract from .

Simplify (y+4)/(y^2+6y+5)-7/(y^2-1)