The function f has singularities in z=\frac{i}{4}\left(\pi+k2\pi\right),~k=0,1,2,\dots, and the contour is a rectangle with vertices at z=-r_1, z=r_2, z=r_2+i\pi, and z=-r_1+i\pi, where r_1,r_2>0. It is also oriented counter-clockwise.
Moreover, in the first question of the exercise, I am asked...