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