$$ \begin{aligned} 5x+6 &= 2x-12&& \text{move the $ \color{blue}{ 2x } $ to the left side and $ \color{blue}{ 6 }$ to the right} \\[1 em]5x-2x &= -12-6&& \text{simplify left and right hand side} \\[1 em]3x &= -18&& \text{ divide both sides by $ 3 $ } \\[1 em]x &= -\frac{18}{3}&& \\[1 em]x &= -6&& \\[1 em] \end{aligned} $$
This page was created using
Equations Solver