Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

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.

Cancel the common factor of and .

Factor out of .

Rewrite as .

Factor out of .

Rewrite as .

Cancel the common factor.

Rewrite the expression.

Multiply by .

Move the negative in front of the fraction.

Multiply .

Multiply by .

Multiply by .

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

Multiply and .

Reorder the factors of .

Combine the numerators over the common denominator.

Multiply by .

Add and .

Subtract (x+7)/(2x+6)-(-2x+20)/(x^2-7x-30)