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