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