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