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 .

Multiply and .

Combine the numerators over the common denominator.

Apply the distributive property.

Multiply by by adding the exponents.

Move .

Multiply by .

Multiply by .

Add and .

Reorder terms.

Add (x+4)/(x^2-x-12)+(2x)/(x-4)