cos^2(3x)={1+cos(6x)}/2