Did you try anything ??
Do you know the steps for solving the first part ??
Consider the vector field:
and let C be any smooth curve joining the origin to the point (1,1,1)
(a) Show that f is conservative by constructing a scalar patential such that
(b) Hence determine without doing an integral
(c) Confirm your answer by direct integration using any convenient choice of C.