What is the original function of the square of (cosx + SiNx)

What is the original function of the square of (cosx + SiNx)

f(x)=--0.5cos(2x)+x+c
PS: C is a constant