Hello
@emarie,
Welcome to PF!

This is a pretty neat problem!
But there are some tricks to it.
First foremost, the problem
should have specified that everything is one dimensional. I.e, the acceleration is always in the same direction, which is also the same direction as the velocity and the displacement. Everything has only one, single direction. It might have made things more intuitive if the position was represented by "x(t)" instead of "r(t)." Anyway, just treat everything as a single dimension and you'll be fine.
To solve this problem you can use separation of variables together with integration.
Acceleration is the time derivative of velocity. a = \frac{dv}{dt}
With that, can you re-write the equation such that everything is in terms of dv, dt, and r(t)? If so, you're almost there.
But there's still one more trick. You can't just go integrating r^3(t) \ dt all willy-nilly. You don't know what the relationship is between r(t) and t, so you'll have to do one more little step before integration.
You do know what the relationship is between r(t) and r.
r(t) = r.
Wouldn't it be nice if you could integrate r^3 \ dr instead? That's a pretty straight-forward integration. What do you have to multiply both sides of the equation by to make this happen?