$$ \begin{aligned} 4 &= \frac{x}{9}&& \text{multiply ALL terms by } \color{blue}{ 9 }. \\[1 em]9\cdot4 &= 9 \cdot \frac{x}{9}&& \text{cancel out the denominators} \\[1 em]36 &= x&& \text{ swap the left and right side of the equation } \\[1 em]x &= 36&& \\[1 em]x &= 36&& \\[1 em] \end{aligned} $$