FourierTransform[Sin[2*pi*1000 t] + 0.5 Sin[2*pi*2000 t], t, w]