Get curves/lines inside rectangle

Hi, how would I get the lines inside the rectangle? My best guess below but tried a few things

wait maybe I can turn the rectangle into a surface and get all the intersecting lines…

2 Likes