C

C

A

A

B

B

Pythagorean Theorem

A = (1, 3)
B = (1, 0)
C = (5, 0)
poly1, c, a, b = Polygon(A, B, C)
D = Intersect(b, c)
E = (-2, 3)
F = (-2, 0)
G = Intersect(a, c)
poly2, d, e, f, g = Polygon(D, E, F, G)
H = Intersect(a, c)
I = (1, -4)
J = (5, -4)
K = Intersect(b, a)
poly3, h, i, j, k = Polygon(H, I, J, K)
L = Intersect(b, c)
M = Point(Circle[L, 5])
l = Segment(L, M)
N = Point(Circle[M, 5])
m = Segment(M, N)
O = Point(Circle[N, 5])
n = Segment(N, O)
poly4, l_1, m_1, n_1, o = Polygon(L, M, N, O)