complex line integration

enter image description here

I am confused with $ y$ parameter and the one in $ z=x+iy$ . I know how to perform line integrals. But I am not sure how to compute parts i and ii I know the third part… as the contour is not closed the answer wont be zero.

Any help i will appreciate.