The root of polynomial $ p(x) $ is:
$$ \begin{aligned}x &= \frac{ 7 }{ 5 } \end{aligned} $$Step 1:
Combine like terms:
$$ \color{blue}{-8x} + \color{blue}{3x} +7 = \color{blue}{-5x} +7 $$Step 2:
$$ \begin{aligned} -5x+7 & = 0 \\[1 em] -5 \cdot x & = -7 \\[1 em] x & = - \frac{ 7 }{ -5 } \\[1 em] x & = \frac{ 7 }{ 5 } \end{aligned} $$