We are given so we need to find a Potential Function such that
To do this we will find F(x,y) by integration of the first part. Then find a constant such that our criteria is satisfied
where Q(y) is a function only dependant on y.
To get to that step we simply differentiate our potential function with respect to y!