# How do you differentiate f(x) = x^3/(xtanx-2) using the quotient rule?

$f ' \left(x\right) = \frac{- {x}^{2} \left(6 + {x}^{2} \sec {\left(x\right)}^{2} - 2 x \tan \left(x\right)\right)}{- 2 + x \cdot \tan \left(x\right)} ^ 2$
$f ' \left(x\right) = \frac{3 {x}^{2} \left(x \tan \left(x\right) - 2\right) - {x}^{3} \left(\tan \left(x\right) + x {\sec}^{2} \left(x\right)\right)}{x \tan \left(x\right) - 2} ^ 2$