$$ \begin{aligned} 45 &= 3w+2w&& \text{simplify right side} \\[1 em]45 &= 5w&& \text{ swap the left and right side of the equation } \\[1 em]5w &= 45&& \text{ divide both sides by $ 5 $ } \\[1 em]w &= \frac{45}{5}&& \\[1 em]w &= 9&& \\[1 em] \end{aligned} $$