Are you familiar with how to obtain the Fourier Series of an arbitrary periodic function?