Assuming you evaluated correctly the corresponding integrals (and it looks like you did it correctly, indeed. It's

only that I didn't check them), your result looks fine.

Just do not write in the last line "f(x)=..." since you still have to calculate the coefficients of the sines...

Tonio