I don't understand how to solve it since it's non-separable.
There's more to Differential Equations than just the separable ones. A LOT more.
where C is an arbitrary constant.
Separate names with a comma.