TeX source:
\dfrac{\frac{6m}{5n}}{\frac{18a}{10n}} = \frac{6m}{5n} \cdot \frac{10n}{18a} = \frac{60mn}{90an} = \frac{2m}{3a}