$$ \begin{aligned} 180 &= 2x+90&& \text{ swap the left and right side of the equation } \\[1 em]2x+90 &= 180&& \text{ move 90 to the right } \\[1 em]2x &= 180-90&& \\[1 em]2x &= 90&& \text{ divide both sides by $ 2 $ } \\[1 em]x &= \frac{90}{2}&& \\[1 em]x &= 45&& \\[1 em] \end{aligned} $$