21: The square makes any direct approach impractical. However, a simple way can be found when the given expression is rewritten as

(1 + cos(2x))/2.

This expansion will be based on the cosine expansion. Apply it.

Next hint
Answer