TeX source:
\genfrac{}{}{1pt}{0}{q^5}{\frac{7}{q^2}} = q^5 :\dfrac{7}{q^2} = q^5 \cdot \dfrac{q^2}{7} = \dfrac{q^7}{7}