In \(\vF\text{,}\) we consider the square with lower-left corner \((-1,-1)\) and upper-right corner \((1,1)\text{,}\) oriented clockwise, to be \(C\text{.}\) Notice that \(\oint_C\vF\cdot d\vr \gt
0\) because the line integrals along the horizontal edges of the square are both positive and the line integrals along the vertical sides are zero because \(\vF\) is orthogonal to those sides. Because the line integral along this closed curve is not \(0\text{,}\) \(\vF\) is not path-independent.
In \(\vG\text{,}\) consider the circle \(C\) of radius \(2\) centered at the point \((3,0)\text{.}\) It appears that \(\vG\) is tangent to \(C\text{,}\) but we can confidently say that \(\vG\cdot d\vr \gt 0\) along \(C\text{,}\) which makes \(\oint_C\vG\cdot d\vr\text{,}\) and thus \(\vG\) is not path-independent.