∵y=cosx*sin(3x+2)
∴y'=(cosx)'*sin(3x+2)+cosx*[sin(3x+2)]'
=-sinx*sin(3x+2)+cosx*3cos(3x+2)
=3cosxcos(3x+2)-sinxsin(3x+2)