Computing Residues

Here is how check the order of the pole and notice that for the case of a simple pole it equals the residue. Now, $z=-2$ is a simple pole then the residue is the coeffiecient of $a_{-1}$ and it is given by

$$ \lim_{z\to -2}(z+2)\frac {(z^2 + 3z - 1)}{(z+2)}=\dots\,. $$

Other related problems (I), (II).