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 .

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.

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.

Apply the distributive property.

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by .

Apply the distributive property.

Multiply by .

Add and .

Add (5n)/(n^2-2n+1)+2/(n^2+2n-3)