This is the last major rule in differentiation. You use it when you have 2 functions dividing with one another. The top function will always be $f(x)$ and the bottom function will always be $g(x)$.
Here is the formula:
Here's a bigger picture of the formula because the equation is hard to see.
This rule should be the first thing that comes to mind (if you can't simplify) when you are asked to differentiate a fraction of 2 functions. I will do 1 example to help you see how to use it.
I don't recommend trying to simplify such expressions.