I am making a program that is finding out how many n shaped polygons on an xy plane can be intersected by a line that is parallel to the y axis, I found out that I can just