The Fourier Transformation that I made : $$ \Im(f(x))= \int_{-\infty} ^{\infty} f(x) e^{-i2\pi ux} dx = \int_{-\infty} ^{\infty} e^{i2\pi ax} e^{-i2\pi ux} dx = \int_{-\infty} ^{\infty} e^{-i2\pi x(u-a)} dx $$
And stuck here. I think it should be equal to $\delta(u-a)$, but how can I continue and show that?
We know that \begin{equation} \int_{-\infty}^{\infty} \delta(u-a) e^{2 \pi u x} du = e^{2 \pi a x} = f(x) \end{equation} So $F(u) = \delta(u-a)$ is the Fourier transform, i.e. \begin{equation} \int_{-\infty}^{\infty} f(x) e^{-2 \pi u x} dx = \delta(u-a) \end{equation}