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