The quotient rule

The derivative of $\frac{f}{g}$ is $\frac{f'g - fg'}{g^2}$, from the product rule applied to $f \cdot \frac{1}{g}$, and the order of the top's terms matters.

From AP Calculus BC.