The given differential equation is:

(1)

To solve this differential equation, we can separate the variables by putting all the y terms on one side and all the x terms on the other side:

(2)

Now we can integrate both sides with respect to their respective variables:

(3)

On the left side, we can use the substitution , , so that we have:

(4)

On the right side, we can use the substitution , , so that we have:

(5)

Putting these together, we have:

(6)

We can simplify this expression as

(7)