It looks like the differential equation is

Check for exactness:

As is, the DE is not exact, so let's try to find an integrating factor µ(x, y) such that

*is* exact. If this modified DE is exact, then

We have

Notice that if we let µ(x, y) = µ(x) be independent of y, then ∂µ/∂y = 0 and we can solve for µ :

The modified DE,

is now exact:

So we look for a solution of the form F(x, y) = C. This solution is such that

Integrate both sides of the first condition with respect to x :

Differentiate both sides of this with respect to y :

Then the general solution to the DE is
