The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 0.5071\\[1 em]x_2 &= -4.5071 \end{aligned} $$The solutions of $ 7x^2+28x-16 = 0 $ are: $ x = -2-\dfrac{ 2 \sqrt{ 77}}{ 7 } ~ \text{and} ~ x = -2+\dfrac{ 2 \sqrt{ 77}}{ 7 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.