The question has been deduced to $$\int _c (x^2-y^2+2ixy)dz$$ $$\int _c (x+iy)^2dz$$ $$\int_c z ^2 dz$$
Now the problem is how to proceed and equate it to the conditions given?
The question has been deduced to $$\int _c (x^2-y^2+2ixy)dz$$ $$\int _c (x+iy)^2dz$$ $$\int_c z ^2 dz$$
Now the problem is how to proceed and equate it to the conditions given?
$z \mapsto z^2$ is holomorphic and the path considered is closed, therefore the integral must be zero. Indeed, one has the following non-trivial theorem:
Otherwise, you could compute the line integral, bringing back the problem to a simple real-integration:
\begin{align*} \int_{|z| = 2} z^2 dz := \int_{0}^1 (2e^{it2\pi})^2\cdot \frac{\text{d}(2e^{it2\pi})}{\text{d}t} \text{d}t = \dots = 0 \end{align*}