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