What long division?
Math formual is easier to use than LaTex but it does not do as many things.
If you want a fraction or a poser written properly just open Math formual and write it in there.
ex
3/4*6^2
I'll enter is in [Math Formula] just as it is ( and press enter and ok)
$${\frac{{\mathtt{3}}}{{\mathtt{4}}}}{\mathtt{\,\times\,}}{{\mathtt{6}}}^{{\mathtt{2}}}$$ and this is the output
---------------------------------------------------
Now if I want the same thing using LaTex I would enter
\frac{3}{4}\times 6^2
and this would be the result
$$\frac{3}{4}\times 6^2$$
----------------------------------------------------
It would be great is you learn bot hthese tools.
Familiarise yourself with Math Formula first because it is easy.