$$\int _{\gamma }\:\left(x+y\right)dx-\left(x-y\right)dy\:$$ $$\:\gamma \::\:y=1-\left|1-x\right|$$ $$\:x\in \left[0,2\right]$$
Is this way of solving it correct? I have trouble figuring out how to parameterize the path, so I am not sure if it's alright this way







The first leg can simply have $x=t, y=t, 0 \leq t \leq 1$. The second leg can be $x = t, y = 2-t, 1 \leq t \leq 2$