$$ \begin{aligned} -11 &= 7-x&& \text{ swap the left and right side of the equation } \\[1 em]7-x &= -11&& \text{ move 7 to the right } \\[1 em]-x &= -11-7&& \\[1 em]-x &= -18&& \text{switch signs on both sides} \\[1 em]x &= 18&& \\[1 em] \end{aligned} $$