How do I compute $\int_{-\infty}^\infty e^{-\frac{x^2}{2t}} e^{-ikx} \, \mathrm dx$ for $t \in \mathbb{R}_{>0}$ and $k \in \mathbb{R}$? Let $t \in \mathbb{R}_{>0}$ and $k \in \mathbb{R}$. I want to find
$$\int_{-\infty}^\infty e^{-\frac{x^2}{2t}} e^{-ikx} \, \mathrm dx.$$
A hint told me to first determine $\int_{-\infty}^\infty e^{-\frac{x^2}{2}} \, \mathrm dx$ which I found to be equal to $\sqrt{2 \pi}$. Now I am told to compute the integral using Cauchy's formula for a convenient Cauchy contour. As I have not yet practically applied Cauchy's formula and I have no idea how it would be helpful in this case, I ask for a little help, a hint would be enough really. Thanks in advance.

After completing the square of the exponential argument, use the following contour to justify the change of variables,

Here is what $c$ is
$$\displaystyle \int_{-\infty}^\infty e^{-p(t+c)^2}dt = \sqrt{\frac{\pi}{p}}, \quad p,c\in {\bf C},\;\mathrm{Re}\displaystyle \left\{p\right\}>0$$
