A = (1, 1)
B = (2, 1)
poly1, f, g, h, i, j, k, l, m, n, C, D, E, F, G, H, I = Polygon(A, B, 9)
q = Segment(B, D)
r = Segment(C, G)
J = Intersect(q, r)