I'm going to guess that you meant to include parentheses somewhere, so that the ODE is supposed to be

Then substitute
so that
. Then


which is separable as

Integrate both sides: on the left,

The other side is trivial. We end up with

Solve in terms of
:
