
For part $(a)$ is the answer just $0$? Using Cauchy-Goursat theorem?
For part $(b)$ I am confused. Do I use

?
It seems very complicated. Am I missing a trick?

For part $(a)$ is the answer just $0$? Using Cauchy-Goursat theorem?
For part $(b)$ I am confused. Do I use

?
It seems very complicated. Am I missing a trick?
For a) apply the Cauchy's integral theorem. It is $0$.
For b) note that $\gamma(0)=0$ and $\gamma(1)=i$ so you can change $\gamma$ for any curve that begins at $0$ and ends at $i$, for example, $\gamma(t)=it$, $t\in[0,1]$.