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