$\renewcommand{\Re}{\operatorname{Re}}$
$\renewcommand{\Im}{\operatorname{Im}}$
Evaluate the given integral using the technique of Example 10 of Section 2.3 of the Textbook;
indicate which theorem or result you used to obtain your answer.
$$
\int_\gamma \Bigl(z+\frac{1}{z}\Bigr)\,dz,
$$
where $\gamma$ is any curve in $\{z\colon \Im z>0\}$ joining $(-4+i)$ to $(6+2i)$.