differentiate y=-4x^2cos x. i need to know the calculation work. (ans: 4x^2sinx - 8xcosx)

use the product rule

y = (-4x^2)(cosx_

dy/dx = (-4x^2)(-sinx) + (-8x)(cosx)
= 4x^2sinx - 8xcosx