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