(d1)

(d2)

A = (1.08, 2.54)
B = (4.22, 3.14)
a = Line(A, B)
b = OrthogonalLine(A, a)
C = Point(b)
α = Angle(B, A, C)
D = (2.16, 5.32)
E = (4.68, 5.34)
F = (4.9, 4.52)
G = (3.82, 3.88)
H = (2.02, 3.34)
I = (2.54, 4.58)
figure1, d, e, f, g, h, i = Polygon(D, E, F, G, H, I)