Rewrite as .

Since both terms are perfect squares, factor using the difference of squares formula, where and .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Factor out of .

Raise to the power of .

Factor out of .

Factor out of .

Factor out of .

Factor using the perfect square rule.

Rewrite as .

Check the middle term by multiplying and compare this result with the middle term in the original expression.

Simplify.

Factor using the perfect square trinomial rule , where and .

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 .

Factor out of .

Cancel the common factor.

Rewrite the expression.

Multiply and .

Cancel the common factor of and .

Factor out of .

Cancel the common factors.

Factor out of .

Cancel the common factor.

Rewrite the expression.

Reorder factors in .

Simplify (x^2-16)/(2x+8)*(x^3-2x^2+x)/(x^2+3x-4)