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