a

b

b²

a²

a.b

a.b

a = 6 (slider from 1 to 10, step 1)
b = 2 (slider from 1 to 10, step 1)
A = (0, 0)
B: (a, 0)
C: (a + b, 0)
D: (0, a)
E: (0, a + b)
F: (a, a)
G: (a + b, a)
H: (a, a + b)
I: (a + b, a + b)
u = Vector(A, B)
z = Vector(C, B)
w = Vector(B, C)
v = Vector(B, A)
T, a_2, c_1, i_1, e_1 = Polygon(A, C, I, E)
T1: "(a+b)² = " + (a + b) + "² = " + ((a + b)²)
P, a_1, b_1, f, d = Polygon(A, B, F, D)
R, f_2, g_1, i, h = Polygon(F, G, I, H)
T2: "a² + b² = " + a + "² + " + b + "² = " + (a² + b²)
Q, b_2, c, g, f_1 = Polygon(B, C, G, F)
S, f_3, h_1, e, d_1 = Polygon(F, H, E, D)
T3: "2ab = 2." + a + "." + b + " = " + (2 a b)