your correct you use product rule which goes f'(x)g(x) + f(x)g'(x)
2x(x^2-3) + x^2(2x)(2) at the end you multiply 2 cause when taking the derivative of g(x) you also use chain rule. Thats your answer you can clean it up a little if u want but id leave it like that