I must calculate the fourier transform of $\cos(2\pi t)$ in the interval $[-1/2, 1/2]$. Here I show all what I have done:

I am stuck at the end, thanks in advance.
Note: I am sorry, I have provided an image because I do not know how to use latex to write such complex functions :'(