\(\left(x^2+2x+3\right)^2-6\left(x^2+2x+3\right)=-9\\ \Rightarrow\left(x^2+2x+3\right)^2-6\left(x^2+2x+3\right)+9=0\\ \Rightarrow\left(x^2+2x+3-3\right)^2=0\\\Rightarrow \left(x^2+2x\right)^2=0\Rightarrow x^2+2x=0\Rightarrow\left[{}\begin{matrix}x=0\\x=-2\end{matrix}\right.\)