1. Parametrize a unit circle. Then
.
Thus
case1. The integral path is 0 to and to along the sides of the square.
A straight line connecting 0 and can be parametrized by . Thus, . Therefore, and
A straight line connecting 0 and can be parametrized by . Thus, . Therefore, and
A straight line connecting 0 and can be parametrized by . Thus, . Therefore, and