This is a first order nonlinear differential equation, so there will be one arbitrary constant in the solution, and we cannot use the standard methods that we would for a linear equation. However, this one is separable:

From here you can integrate, and solve the result for y to get the general equation.

--Kevin C.