$$\int_\gamma \frac{(x^2+y^2-2)\,dx+(4y-x^2-y^2-2) \, dy}{x^2+y^2-2x-2y+2}$$
where $\gamma = 2\sin\left(\frac{\pi x}{2}\right)$ from $(2,0)$ to $(0,0)$.
I think it should be a shortcut to this problem that I cannot see , if that is not the case I will keep trying to simplify it .
Thnaks in advance