4: For the function of length
The sine series has
Use them to create the appropriate series. Then draw the odd periodic extension of f and apply Jordan's conditions to find the sum of this series.
The cosine series has
Use them to create the appropriate series. Then draw the even periodic extension of f and apply Jordan's conditions to find the sum of this series.
This is actually the same as the original Fourier series. This should be no surprise, since the usual periodic extension of f is already even. Thus there was no need to actually do the cosine expansion again, we could have just copied the Fourier expansion. However, it was not completely useless: It was a good exercise and a confirmation that things work as they should.