The roots of polynomial $ p(y) $ are:
$$ \begin{aligned}y_1 &= -5.2042\\[1 em]y_2 &= -14.7958 \end{aligned} $$The solutions of $ y^2+20y+77 = 0 $ are: $ y = -10-\sqrt{ 23 } ~ \text{and} ~ y = -10+\sqrt{ 23 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.