Hi to everyone. I'm developing a puzzle game which involves some concepts of geometry. Suppose you have a rectangle formed by points A, B, C and D. Now, I add points X1 (lies on line AB), X2 (inside the rectangle) and X3 (lies on line AC). I'd like the output to be the two rectangles resulting from these added points. I don't know how to do it nor how to ask it properly. Any guidance will be very helpful. Thanks in advance.