Use conservation of angular momentum. At the maximum and the minimum distances, the radius vector is perpendicular to the velocity vector so that the angular momentum is