6. Evaluate \( \oint_{C} \frac{z^{2}+1}{(z-1)^{2}(z+2i)} dz \) , where the contour C is the circle\( |z+i|=7 \) .(10%)