The integral is path-independent if there is a scalar function
whose gradient is

(at least, that's what it looks like the given integrand is)
Then

Differentiating both sides with respect to
gives

so the line integral *is* dependent on the path. (again, assuming what I've written above actually reflects what the question is asking)