I have: f is $2\pi$ periodic
$a_k(f')=\frac{1}{\pi}\int_{0}^{2\pi}f'(x)cos(kx)dx$
$b_k(f')=\frac{1}{\pi}\int_{0}^{2\pi}f'(x)sin(kx)dx$
The hint of the example states that partial integration helps.
With that I get
$a_k(f')=\frac{1}{\pi}((f(x) cos(kx))|^{2\pi}_0-\int_{0}^{2\pi}f(x)(-ksin(kx)dx)$
At this point I am stuck and have no idea.
Any advice?