TeX source:
\begin{gathered}\dfrac{10}{24} \\\\\dfrac{10 / 2}{24 / 2} \\ \\\dfrac{5}{12}\end{gathered}