Hello,

You don't have to derivate, since it'll only (the things that could interest us) give you variations.

Transform cos(3x) into a form with cos(x) and sin(x).

cos(3x)=cos(2x+x)

So use the following formulas :

Try to get cos(3x) first...