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