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