We are supposed to integrate the polynomial $$\frac{z}{z^3+2z^2-z-2}=\frac{z}{(z+2)(z+1)(z-1)}$$
On a disk of radius $3$ around the origin that contains all roots of the denominator. The title of the exercise strongly implies that we are supposed to use Cauchy's Formula. I've been pushing around linear factors, but can't see how to bring the integrand into the correct form.
How can we bring this polynomial into the form $$\frac{f(z)}{(z-a)^n}$$ , where $f(z)$ is analytic on a disk with radius $3$ around the origin?
You don't. You note that you can integrate around each of the poles separately (due to Cauchy's integral theorem). In other words, do three loops, one around each pole, and use the theorem to show that the sum of the integrals over each of those three is equal to the the integral over a curve that goes around all of the poles at once.
So when integrating around the pole at $z=-2$, you get $$ \frac{z/((z+1)(z-1))}{z+2} $$ which is of the required form. Then you integrate around the pole at $z=-1$, where the function can be given the form $$ \frac{z/((z+2)(z-1))}{z+1} $$ And for the third pole I leave to you to do the rewriting.
Edit: Added details about Cauchy's integral theorem: The theorem says that integrating over the two curves in the below two pictures give the same result (the poles of the function are drawn in):
However, in the last one, we can split it into three separate integrals, one over each loop. And since the function only has one pole within each loop, on each loop we can do the required rewriting and use the integral formula to find the value of the integral. Then we just add the three values together afterwards to get the total value of the original integral.