This differential equation could be solved in several ways. But I will give you the most easiest I can think of. In a differential equation if x is absent explicitily, (does not have terms.) this method can be used.
Seperation of variables and integrating yields,
Hope this will help you.