\documentclass[a4paper]{article} \setlength{\parindent}{0.0cm} \begin{document} $$\frac{((((x)f)')\cdot((x)g))-(((x)f)\cdot(((x)g)'))}{((x)g)\cdot((x)g)}$$\end{document}