Fourier Transform of delta functions
1.
$ x(t) = \delta (t+1) + \delta (t-1) $
$ X(\omega) = \int_{-\infty}^{\infty} \delta (t+1)e^{-j \omega t} + \int_{-\infty}^{\infty} \delta (t-1)e^{-j \omega t} dt $
$ X(\omega) = e^{j \omega}+ e^{-j \omega} = \frac{1}{2} (e^ {j \omega} + e^ {-j \omega})^2 $
$ X(\omega) = 2cos(\omega) $
2.
$ x(t) = \frac{d}{dt} {u(-2-t) + u(t-2)} $
$ x(t) = \int_{-\infty}^{infty} \frac{d}{dt} {u(-2-t) + u(t-2)} e^{-j \omega t} dt $