TeX source:
\frac{3^5}{3^2} = \frac{3\cdot 3\cdot 3\cdot 3\cdot 3}{3\cdot 3} = 3^3