The knowledge that the contour goes once around z=1 should be enough. The comment on point z=i looks like misdirection.
I believe that actually you already know what you want there, assuming that you know the Cauchy's integral formula. It's just that the 1/(z-1)^2 is confusing?