Let $f: \mathbb{R} \to \mathbb{R}$ be a $2\pi$ -periodic Riemann integrable function such that $1 \leq f(x) \leq 2$ for all $ x \in \mathbb{R}$. Let $f(x)$ ~ $\sum_{n \in \mathbb{Z}} c_n e^{inx}$ be the Fourier expansion of $f$. Prove that:
A) $\sum_{n \geq 1} |c_n|^2 \leq \frac {1}{8}$
B) There exists a continuous $2\pi$-periodic function $g: \mathbb{R} \to \mathbb{R}$ with Fourier expansion $g(x)$ ~ $\sum_{n \geq 1} \frac {|c_n|}{n} \cos {nx}$.
I know that the Fourier coefficients are defined as $c_n=\frac {1}{2\pi}\int_{-\pi}^{\pi} f(x)e^{-inx}dx$. I am also familiar with the Dirichlet kernel as an alternate way of finding partial sums. This is a test review problem so a full solution would be appreciated.