It is a first order non linear differential equation and it is in the form .
Here
Now
Since , the equation is an exact differential equation. \ \
The general solution of an exact equation is
The solution is