\(\left(x+1\right)^2=\left(x+1\right)^4\)
\(\Rightarrow\left(x+1\right)^4-\left(x+1\right)^2=0\)
\(\Rightarrow\left(x+1\right)^2\left[\left(x+1\right)^2-1\right]=0\)
\(\Rightarrow\orbr{\begin{cases}\left(x+1\right)^2=0\\\left(x+1\right)^2-1=0\end{cases}}\)
\(\Rightarrow\orbr{\begin{cases}x+1=0\\\left(x+1\right)^2=1\end{cases}}\)
\(\Rightarrow\orbr{\begin{cases}x=-1\\x+1=\pm1\end{cases}}\)
\(\Rightarrow\orbr{\begin{cases}x=-1\\x=0\text{ or }x=-2\end{cases}}\)