f(x)=x2+2(3x2−3)(x2−2)

Do I just multply out the top to get f(x) and then get the derivative by the quotient rule from there?

I got what I thought was the derivative: (12x^2(X^2+2)-(3x^2-3)(x^2-2)(2x))/(x^2+2)^2 but it said I was incorrect.