$$ \begin{aligned} 3x+5 &= 2x+12&& \text{move the $ \color{blue}{ 2x } $ to the left side and $ \color{blue}{ 5 }$ to the right} \\[1 em]3x-2x &= 12-5&& \text{simplify left and right hand side} \\[1 em]x &= 7&& \\[1 em]x &= 7&& \\[1 em] \end{aligned} $$