Final Answer
Step-by-step Solution
Specify the solving method
Add and subtract $\displaystyle\left(\frac{b}{2a}\right)^2$
Factor the perfect square trinomial $x^2+2x+1$
Subtract the values $1$ and $-1$
Factor the difference of squares $\left(1-x^2\right)$ as the product of two conjugated binomials
Simplify the fraction $\frac{\left(1+x\right)^2\left(1-x\right)^2}{\left(x+1\right)^2}$ by $\left(1+x\right)^2$