For this problem, the quotient rule is your friend. The statement is
d d x ( f ( x ) g ( x ) ) = f ′ ( x ) g ( x ) − g ′ ( x ) f ( x ) g ( x ) 2 {\displaystyle {\frac {d}{dx}}{\bigg (}{\frac {f(x)}{g(x)}}{\bigg )}={\frac {f'(x)g(x)-g'(x)f(x)}{g(x)^{2}}}}
provided f ( x ) {\displaystyle f(x)} and g ( x ) {\displaystyle g(x)} are differentiable and g ( x ) ≠ 0 {\displaystyle g(x)\neq 0} .