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