Factorization is $(x+0.5+0.5i) \sqrt2)(x-0.5+0.5i) \sqrt2)(x+0.5-0.5i)\sqrt2)(x-0.5-0.5i) \sqrt2)$ The third and fourth factor provide the root in the upper half plane. To find the residues: Knock out the third factor and substitute its roots in the fraction. That's one residue. And then, knock out the fourth factor (put the third back of course) and then put in its root in the fraction. Now you have two residues. Add them up and multiply by $2 \pi i$. That should do it. It's time for me to sleep now. Good luck