4: The expansions and their sums are

The Fourier expansion is also the cosine the Fourier expansion.

The basic period was drawn by a thicker line.