Given differential equation is:

(1)

We can separate the variables as follows:

(2)

Now, we can integrate both sides of the equation:

(3)

Integrating the left-hand side, we get:

(4)

where is the constant of integration.

Simplifying and solving for , we have:

(5)

where is a constant of integration.

Therefore, the solution to the differential equation is:

(6)

where is a constant of integration.