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