El teorema de Pitàgores

a² + b²  =  c² 

A = (-4, 8)
B = (-4, 5)
a = Segment(A, B)
C = (1, 5)
b = Segment(B, C)
c = Segment(C, A)
D = (-4, 3)
E = (1, 3)
d = Segment(D, E)
F = (4, 3)
e = Segment(E, F)
G = (4, -5)
f = Segment(F, G)
H = (-4, -5)
g = Segment(G, H)
h = Segment(H, D)
I = Point(d)
J = Point(f)
i = Segment(I, J)
K = Point(g)
j = Segment(J, K)
L = Point(h)
k = Segment(K, L)
l = Segment(L, I)
M = (8, 3)
N = (16, 3)
O = (16, -5)
P = (8, -5)
m = Segment(M, P)
n = Segment(P, O)
p = Segment(N, O)
q = Segment(N, M)
Q = Point(q)
R = (13, -2)
r = Segment(Q, R)
S = Point(m)
s = Segment(R, S)
T = Point(n)
t = Segment(R, T)
U = Point(p)
a_1 = Segment(R, U)
V, u, n_1, r_1 = Polygon(N, R, U)
W, p_1, s_1, r_2 = Polygon(S, R, P)
Y, j_1, i_1, f_1 = Polygon(I, F, J)