First integral:
Parameterize -C (the reverse of C) by
where
. Then the contour integral is
Then
Second integral:
The integrand has a pole of order 2 at z = 3i which is contained in C. By the residue theorem,
Compute the residue:
Then the value of the integral is