At the end of my complex analysis class, there is an integral which I can't work out. The main problem I have is the appearance of a singularity on my contours. Does anyone know how to solve it. Unfortunately I've never learnt latex so here it is in word format.

I = -∞Int∞ (cos(x) - 1)/(x^2) dx

Thanks for any help or anyone who can convert that to latex.