Rewrite as .

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

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 .

Cancel the common factor of .

Factor out of .

Cancel the common factor.

Rewrite the expression.

Cancel the common factor of .

Cancel the common factor.

Rewrite the expression.

Multiply and .

Reorder factors in .

Simplify (x^2-4)/(x^2-1)*(x+1)/(x^2+2x)