Evaluate $\int_C \frac{1+2z^2}{z}~dz$ where $C$ is the curve starting at $P=i$ and going to $Q=-1$ along the unit circular arc centred at the origin in the anticlockwise direction, followed by a straight line from $Q$ to $R$ at $1+i$.
Someone please guide me through the solution. Thank You.