Proof

Note that both sides are 1-periodic so just calculate the Fourier Series. RHS immediately gives coeffs LHS will conveniently become a Fourier transform after substitution :