How to create a line connecting the division in closed curve?

Hi, I’m a beginner to grasshopper and am trying to figure out how to create a line between two points of a divided closed curve. I’ve attached images of what I’m trying to achieve. Thanks.

you can connect the Points output to a Polyline component