f(x)=1+cos2x-[1-cos2(x-π/6).
=1+cos2x-1+cos(2x-π/3)
=cos2x+cos(2x-π/3).
=2cos[(2x+2x-π/3)/2]*cos[2x-(2x-π/3)]/2.
=2cos(2x-π/6)*cosπ/6.
=√3cos(2x-π/6).
f(x)=1+cos2x-[1-cos2(x-π/6).
=1+cos2x-1+cos(2x-π/3)
=cos2x+cos(2x-π/3).
=2cos[(2x+2x-π/3)/2]*cos[2x-(2x-π/3)]/2.
=2cos(2x-π/6)*cosπ/6.
=√3cos(2x-π/6).