\(x^2+2x+1=9\)
\(\Leftrightarrow x^2+2x+1-9=0\)
\(\Leftrightarrow x^2+2x-8=0\)
\(\Delta=b^2-4ac=2^2-4.\left(-8\right)=36>0\)
\(\Rightarrow Pt\) có 2 nghiệm phân biệt
\(\left\{{}\begin{matrix}x_1=\dfrac{-b+\sqrt{\Delta}}{2a}=\dfrac{-2+6}{2}=2\\x_2=\dfrac{-b-\sqrt{\Delta}}{2a}=\dfrac{-2-6}{2}=-4\end{matrix}\right.\)
Vậy \(S=\left\{2;-4\right\}\)