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 2x^3-18x^2+40x