4: The basic parameters are
For coefficients you should get
(using integration
by parts)
Use them to create the appropriate series. Then draw the periodic extension of f and apply Jordan's conditions to find the sum of this series.
Next: Repeat the analogous procedure to find the sine Fourier expansion and the cosine Fourier expansion.