1) for the first one since we want the integral equal to zero, The sine function equals zero when its argument is zero so set

and we get..

so any curve on that path will give an integral of zero.

for #2

using the fundemental theorem for line integrals

so we need to pick a path that the difference of it's end point is 1.

so try