The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 0.8603\\[1 em]x_2 &= -6.0848 \end{aligned} $$The solutions of $ 98x^2+512x-513 = 0 $ are: $ x = -\dfrac{ 128 }{ 49 }-\dfrac{\sqrt{ 115810 }}{ 98 } ~ \text{and} ~ x = -\dfrac{ 128 }{ 49 }+\dfrac{\sqrt{ 115810 }}{ 98 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.