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