Added case 2 problem solving to GeometryHelper