I'm trying to find the equilibrium size of a planetesimal which is made of a material whose density is pressure dependent. (quite a mouthful)

I have to solve this differential equation:

where a and b are constants.

Unfortunately, I don't know how to start.