Evaluate the line integral \(\displaystyle \oint_C y\,\boldsymbol{\hat{x}}\cdot d\boldsymbol{\vec{r}}\) by noticing that along each segment either \(x\) or \(y\) is constant, so that the integral is equal to \(\sum_{C_i} y\,\Delta x\).
Can you relate this to Problem 1?