That looks right. I did some plotting of the partial sums, and the Fourier expansion matches up with the original function nicely.

You're welcome. Have a good one!