Okay, I dont even know how to solve this ... plzz someone help ^^

Let f(x) be a periodic function with period P = 2pie defined in one period by

f(x) = pie if -pie < x < 0,

pie - x if 0 less than equal x less than equal pie

(a) Compute An for n greater than and equal to 0.

(b) Compute Bn for n greater than and equal to 1.

(c) Now write f(x) as a Fourier series.

I know i am asking a lot but these type of problems will be on my test -_-

Thanks