The roots of polynomial $ p(r) $ are:
$$ \begin{aligned}r_1 &= 1+5i\\[1 em]r_2 &= 1-5i \end{aligned} $$The solutions of $ r^2-2r+26 = 0 $ are: $ r = 1+5i ~ \text{and} ~ r = 1-5i$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.