how do you do a fraction
I don't know exactly what you mean by this, please elaborate on you question if you want exact answers. But I will assume that you want to write a fraction in latex. In that case, here is an example: \frac{x}{y} gives us xy. Hope this helps :)