c^2=a^2+b^2

A = (-3, 2)
E = (2, 2)
S_2, j, k, l, m, F, G = Polygon(E, A, 4)
B = (-2, 4)
f = Segment(A, B)
g = Segment(E, B)
α = Angle(A, B, E)
S_1, h, i, n, p, C, D = Polygon(A, B, 4)
S_3, q, r, s, t, H, I = Polygon(B, E, 4)
Punkthulknurk3 = PointIn(S_3)
Punkthulknurk1 = PointIn(S_1)
Punkthulknurk2 = PointIn(S_2)
a = Segment(A, B)
b = Segment(B, E)
c = Segment(A, E)
tekst1: "S_1=a^2, \; a=\sqrt{" + (LaTeX[S_1]) + "}"
tekst2: "S_2=c^2, \; c=\sqrt{" + (LaTeX[S_2]) + "}"
tekst3: "S_3=b^2,  \; b=\sqrt{" + (LaTeX[S_3]) + "}"