
Ok so I want to prove the above expression, I substituted the complex fourier series for f and using the fact f may be complex-valued, carried on by representing $|f(x)|^2$ as $f(x)f(x)^\ast$ where the ast represents complex conjugation. The problem is when now I substitute the complex fourier series I get three summations, one is the one above and two more by matching the powers of the exponentials. The two extra summations are below:
$2L\sum_{n=-\infty}^{\infty}C_nC_{-n}^\ast+2L\sum_{n=-\infty}^{\infty}C_{-n}C_{n}^\ast$