The root of polynomial $ p(x) $ is:
$$ \begin{aligned}x &= \dfrac{ 12 }{ 17 } \end{aligned} $$Step 1:
Combine like terms:
$$ \color{blue}{6x} + \color{red}{2x} \color{red}{-25x} +12 = \color{red}{-17x} +12 $$Step 2:
$$ \begin{aligned} -17x+12 & = 0 \\[1 em] -17 \cdot x & = -12 \\[1 em] x & = - \frac{ 12 }{ -17 } \\[1 em] x & = \frac{ 12 }{ 17 } \end{aligned} $$