derivative of g(x) = \frac{3x\left(1-x^2\right)}{x^4-4x^2+1}