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.

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 .

Cancel the common factor.

Rewrite the expression.

Combine the numerators over the common denominator.

Add and .

Simplify (w^2+2w-24)/(w^2+w-30)+8/(w-5)