The root of polynomial $ p(x) $ is:
$$ \begin{aligned}x &= -3 \end{aligned} $$The solution of $ ~ x^2+6x+9 = 0 ~$ is $~ x = -3 ~$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.