Differentiate $\displaystyle f(x) = \frac{a x + b}{c x + d},$ where $a,$ $b,$ $c,$ and $d$ are constants and $ad-bc \ne 0.$

$\displaystyle f'(x) =$