Try to use LaTeX or make it on a single line (with appropriate brackets, / for division, * for multiplication), please ^^
Except that dividing by a fraction is the same as multiplying by it's inverse.
Go here to see actual numbers in action:
Enter any 2 fractions and press the "Divide Fractions" button. You will notice we multiply by the inverse of the denominator. This is what you need to do, but with variables, and the rest is the same as in the thread above where I linked you to.