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.

Remove unnecessary parentheses.

Factor 5x^2+10x-40