A = (-2, 0)
B = (3, 0)
C = (0, 4)
a = 0.5 (slider from -5 to 5, step 0.1)
b = 0.3333333333333333 (slider from -5 to 5, step 0.1)
CA = Dilate(C, a, A)
CAB = Dilate(CA, b, B)
CB = Dilate(C, b, B)
CBA = Dilate(CB, a, A)
c = Line(C, CAB)
e = Line(C, CBA)
d = Line(A, B)
f = Line(B, C)
g = Line(C, A)
h = Line(CA, B)
i = Line(CB, A)
u = Vector(C, CA)
v = Vector(CA, CAB)
w = Vector(C, CB)
z = Vector(CB, CBA)
D = (3, 4)
E = (3, 6)
F = (2, 6)
G = (2, 5)
H = (0, 5)
poly1, c_1, d_1, e_1, f_1, g_1, h_1 = Polygon(C, D, E, F, G, H)
C' = Dilate(C, a, A)
D' = Dilate(D, a, A)
E' = Dilate(E, a, A)
F' = Dilate(F, a, A)
G' = Dilate(G, a, A)
H' = Dilate(H, a, A)
poly1', c', d', e', f', g', h' = Polygon(C', D', E', F', G', H')
C'' = Dilate(C', b, B)
D'' = Dilate(D', b, B)
E'' = Dilate(E', b, B)
F'' = Dilate(F', b, B)
G'' = Dilate(G', b, B)
H'' = Dilate(H', b, B)
poly1'', c'', d'', e'', f'', g'', h'' = Polygon(C'', D'', E'', F'', G'', H'')
C'_1 = Dilate(C, b, B)
D'_1 = Dilate(D, b, B)
E'_1 = Dilate(E, b, B)
F'_1 = Dilate(F, b, B)
G'_1 = Dilate(G, b, B)
H'_1 = Dilate(H, b, B)
poly1'_1, c'_1, d'_1, e'_1, f'_1, g'_1, h'_1 = Polygon(C'_1, D'_1, E'_1, F'_1, G'_1, H'_1)
I = Dilate(C'_1, a, A)
J = Dilate(D'_1, a, A)
K = Dilate(E'_1, a, A)
L = Dilate(F'_1, a, A)
M = Dilate(G'_1, a, A)
N = Dilate(H'_1, a, A)
poly2, i_1, j, k, l, m, n = Polygon(I, J, K, L, M, N)