The function is analyitic in the whole complex plane, so that is...

(1)

... for any closed path . That means that the integral of f(*) from to doesn't depend from the path connecting the limits of integration, so that we can choose the direct path along the axis and is...

(2)

Kind regards