Ta có : $(x^2+2x+3)^2-9.(x^2+2x+3)+18=0$
$⇔(x^2+2x+3)^2-3.(x^2+2x+3)-6.(x^2+2x+3)+18=0$
$⇔(x^2+2x+3).(x^2+2x)-6.(x^2+2x)=0$
$⇔(x^2+2x)(x^2+2x-3)=0$
$⇔x.(x+2).(x+3)(x-1)=0$
$⇔ \left[ \begin{array}{l}x=0\\x+2=0\\x+3=0\\x-1=0\end{array} \right.$
$⇔ \left[ \begin{array}{l}x=0\\x=-2\\x=-3\\x=1\end{array} \right.$
Vậy pt đã cho có tập nghiệm $S=${$0,-2,-3,1$}
Chúc bạn học tốt !