How we solve those?
For the first one, if $\displaystyle n\geq0$, then we can use Cauchy's Theorem to change the curve to a point through a homotopy and the integral over a point is zero.
For n=-1 use Cauchy's Integral formula to conclude the answer is $\displaystyle 2\pi\imath$
For $\displaystyle n\leq-2$ then we have to use Cauchy's General Integral Formula which is $\displaystyle f^n(a)=\frac{n!}{2\pi\imath}\int_C\frac{f(z)}{(z-a)^{n+1}}$ where $\displaystyle f^n(a)$ is the n-th derivative of f(z) evaluated at the point a
So...
$\displaystyle \int_C(z-a)^ndz=\int_C\frac{1}{(z-a)^k}dz$ for k=-n and by Cauchy's Integral formula this integral is
$\displaystyle \frac{2\pi\imath}{(k-1)!}f^{(k-1)}(z)$ but f(z)=1 in this case, so the k-1 derivative of 1 is 0 (as k-1 is always at least 1) and anything times 0 is 0.
$\displaystyle \oint_C\frac{z^3+z}{(2z+1)^3}dz=\oint_C\frac{z^3+z }{(2(z+\frac{1}{2}))^3}dz=\oint_C\frac{z^3+z}{2^3( z+\frac{1}{2})^3}dz$
$\displaystyle =\oint_C\frac{\frac{z^3+z}{8}}{(z+\frac{1}{2})^3}d z$
Now Cauchy's integral formula states:
$\displaystyle f^n(a)=\frac{n!}{2\pi\imath}\oint_C\frac{f(z)}{(z-a)^{n+1}}$ where $\displaystyle f^n(a)$ is the n-th derivative of f(z) evaluated at the point a
So $\displaystyle =\oint_C\frac{\frac{z^3+z}{8}}{(z+\frac{1}{2})^3}d z=\frac{2\pi\imath}{2!}*f ''(-\frac{1}{2})$ where f(z)= $\displaystyle \frac{z^3+z}{8}$
I'll leave it to you to find the second derivative, plug in z=$\displaystyle \ -\frac{1}{2}$ and multiply it by $\displaystyle \frac{2\pi\imath}{2!}$