Since, vp lies between orbital velocity and escape velocity, path of the particle would be an ellipse with r being the minimum distance.
Let r' be the maximum distance and v'p its velocity at that moment.
Then from conservation of angular momentum and conservation of mechanical energy, we get