The roots of polynomial $ p(x) $ are:
$$ \begin{aligned}x_1 &= 0.4454\\[1 em]x_2 &= -2.2454 \end{aligned} $$Step 1:
Combine like terms:
$$ 10x^2+ \color{blue}{17x} \color{red}{-6} + \color{blue}{x} \color{red}{-4} = 10x^2+ \color{blue}{18x} \color{red}{-10} $$Step 2:
The solutions of $ 10x^2+18x-10 = 0 $ are: $ x = -\dfrac{ 9 }{ 10 }-\dfrac{\sqrt{ 181 }}{ 10 } ~ \text{and} ~ x = -\dfrac{ 9 }{ 10 }+\dfrac{\sqrt{ 181 }}{ 10 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.