b = 5.9 (slider from 1 to 20, step 0.1)
a = 7.8 (slider from 1 to 20, step 0.1)
A = (-2.4336824256715373, -4.2862282553341196)
c = Line(A, xAxis)
B = Point(c)
E = (143.21585340780203, 70.48701308995092)
C = (163.29736405895085, 88.02298013743298)
p = OrthogonalLine(E, xAxis)
q = OrthogonalLine(C, xAxis)
r = Line(E, xAxis)
s = Line(C, xAxis)
D = Intersect(s, p)
F = Intersect(r, q)
многоъгълник1, e_1, f_1, c_1, d_1 = Polygon(E, F, C, D)
G = Midpoint(c_1)
H = Midpoint(d_1)
I = Midpoint(e_1)
J = Midpoint(f_1)
многоъгълник2, h_1, g_1, j_1, i_1 = Polygon(H, G, J, I)
t = Circle(E, d_1 / 3.0)
k_1 = Circle(D, d_1 / 3.0)
p_1 = Circle(D, c_1 / 3.0)
q_1 = Circle(C, c_1 / 3.0)
K = Intersect(k_1, p_1)
M = Intersect(p_1, c_1)
N = Intersect(q_1, c_1)
O = Intersect(t, d_1)
L = Intersect(k_1, d_1)
a_1 = Line(L, c_1)
b_1 = Line(O, e_1)
l_1 = Line(M, d_1)
m_1 = Line(N, d_1)
P = Intersect(a_1, f_1)
Q = Intersect(b_1, f_1)
R = Intersect(m_1, e_1)
S = Intersect(l_1, e_1)
n_1 = Segment(M, S)
r_1 = Segment(N, R)
s_1 = Segment(L, P)
t_1 = Segment(O, Q)
T = (-4.167804631366021, 5.160855402553739)
U = (-6.859576413339548, 3.737322248625431)
a_2, b_2, c_2, d_2, e_2, f_2, g_2, h_2 = rombus(T, U)
V = (-6.238398309807196, -0.8697486859061816)
W = (-7.221930307066755, 1.640846149203743)
i_2, j_2, k_2, l_2, m_2, n_2 = tool10(V, W)
Z = (-6.781929150398004, -2.0603400510098573)
A_1 = (-5.1772190496060935, -3.0697544692499297)
p_2, q_2, r_2, s_2, t_2, a_3 = tool9(Z, A_1)
B_1 = (-4.064274947443963, -0.843866264925667)
C_1 = (-5.384278417450211, 1.3302570974375663)
многоъгълник3, b_3, c_3, d_3, e_3, f_3, g_3, h_3, i_3, j_3, k_3, l_3, m_3, многоъгълник4, n_3, p_3, q_3, r_3, s_3, t_3, a_4, b_4, c_4, d_4, e_4, f_4, g_4, h_4, многоъгълник5 = RabatmanPP(B_1, C_1)
picture = 3 (slider from 1 to 12, step 1)

Tool: Rabat1
Input: A, B, C
Output: a_1, b_1, многоъгълник2, многоъгълник3, g_1, f_1, j_1, i_1, k_1, e_1, d_1, p, q, h_1, i, j, n_1, k, l, l_1, m, m_1, n, o, r_1, s_1, t_1, u, многоъгълник1

a = Segment(A, B)
c = Line(C, a)
b = OrthogonalLine(A, a)
d = Line(B, b)
E = Intersect(c, d)
f = Circle(E, B)
D = Intersect(c, b)
многоъгълник2_1, a_2, b_2, e_2, d_2 = Polygon(A, B, E, D)
многоъгълник2, a_1, b_1, e_1, d_1 = Polygon(A, B, E, D)
e = Circle(D, A)
g = Circle(A, D)
h = Circle(B, E)
G = Intersect(e, e_1)
H = Intersect(g, a)
K = Intersect(h, a)
i = Segment(G, H)
I = Intersect(f, e_1)
j = Segment(I, K)
p = Segment(A, E)
q = Segment(D, B)
k_2 = Segment(A, G)
k = Segment(A, G)
l_2 = Segment(D, H)
l = Segment(D, H)
m_2 = Segment(I, B)
m = Segment(I, B)
n_2 = Segment(E, K)
n = Segment(E, K)
L = Intersect(k, m)
M = Intersect(l, n)
N = Intersect(l, k)
O = Intersect(n, m)
многоъгълник1_1, n_3, l_3, o_1, m_3 = Polygon(N, L, O, M)
многоъгълник1, n_1, l_1, o, m_1 = Polygon(N, L, O, M)
r = Circle(E, D)
s = Circle(D, E)
t = Circle(B, A)
c_1 = Circle(A, B)
F = Intersect(r, b_1)
J = Intersect(s, d_1)
P = Intersect(c_1, d_1)
Q = Intersect(t, b_1)
f_1 = Segment(F, J)
g_1 = Segment(Q, P)
h_2 = Segment(D, F)
h_1 = Segment(D, F)
i_2 = Segment(E, J)
i_1 = Segment(E, J)
j_2 = Segment(P, B)
j_1 = Segment(P, B)
k_3 = Segment(Q, A)
k_1 = Segment(Q, A)
R = Intersect(i_1, h_1)
S = Intersect(k_1, j_1)
T = Intersect(h_1, k_1)
U = Intersect(i_1, j_1)
многоъгълник3_1, r_2, t_2, s_2, u_1 = Polygon(R, T, S, U)
многоъгълник3, r_1, t_1, s_1, u = Polygon(R, T, S, U)

Tool: Rabat2
Input: A, B, v
Output: многоъгълник2, e_1, b_1, a_1, d_1, l, k, n, m, p, q, j, i, многоъгълник1, f_1, g_1, h_1, i_1, j_1, k_1, l_1, m_1, n_1, o, r_1, s_1, t_1, u, многоъгълник3

a = Segment(A, B)
B' = Rotate(B, 90.0*°, A)
p_1 = Ray(A, B')
q_1 = Circle(A, v)
D = Intersect(q_1, p_1)
b = OrthogonalLine(A, a)
d = Line(B, b)
c = Line(D, a)
E = Intersect(c, d)
f = Circle(E, B)
многоъгълник2_1, a_2, b_2, e_2, d_2 = Polygon(A, B, E, D)
многоъгълник2, a_1, b_1, e_1, d_1 = Polygon(A, B, E, D)
e = Circle(D, A)
g = Circle(A, D)
h = Circle(B, E)
G = Intersect(e, e_1)
H = Intersect(g, a)
K = Intersect(h, a)
i = Segment(G, H)
I = Intersect(f, e_1)
j = Segment(I, K)
p = Segment(A, E)
q = Segment(D, B)
k = Segment(A, G)
l = Segment(D, H)
m = Segment(I, B)
n = Segment(E, K)
L = Intersect(k, m)
M = Intersect(l, n)
N = Intersect(l, k)
O = Intersect(n, m)
многоъгълник1_1, n_2, l_2, o_1, m_2 = Polygon(N, L, O, M)
многоъгълник1, n_1, l_1, o, m_1 = Polygon(N, L, O, M)
r = Circle(E, D)
s = Circle(D, E)
t = Circle(B, A)
c_1 = Circle(A, B)
F = Intersect(r, b_1)
J = Intersect(s, d_1)
P = Intersect(c_1, d_1)
Q = Intersect(t, b_1)
f_1 = Segment(F, J)
g_1 = Segment(Q, P)
h_1 = Segment(D, F)
i_1 = Segment(E, J)
j_1 = Segment(P, B)
k_1 = Segment(Q, A)
R = Intersect(i_1, h_1)
S = Intersect(k_1, j_1)
T = Intersect(h_1, k_1)
U = Intersect(i_1, j_1)
многоъгълник3, r_1, t_1, s_1, u = Polygon(R, T, S, U)

Tool: RabatmanPP
Input: A, B
Output: многоъгълник1, b_1, d_1, a_1, c_1, j, i, p, n, l, m, q, r, многоъгълник2, g_1, h_1, i_1, j_1, k_1, l_1, m_1, n_1, p_1, q_1, q_2, r_1, s_1, t_1, многоъгълник3

b = Line(A, xAxis)
c = Line(B, xAxis)
d = OrthogonalLine(A, xAxis)
e = OrthogonalLine(B, xAxis)
C = Intersect(c, d)
D = Intersect(b, e)
многоъгълник1_1, a_2, d_2, b_2, c_2 = Polygon(A, D, B, C)
многоъгълник1, a_1, d_1, b_1, c_1 = Polygon(A, D, B, C)
f = Circle(A, C)
g = Circle(C, A)
h = Circle(B, D)
k = Circle(D, B)
E = Intersect(g, b_1)
F = Intersect(f, a_1)
i = Segment(E, F)
G = Intersect(h, b_1)
H = Intersect(k, a_1)
j = Segment(G, H)
l_2 = Segment(A, E)
l = Segment(A, E)
m_2 = Segment(C, F)
m = Segment(C, F)
n_2 = Segment(G, D)
n = Segment(G, D)
p_2 = Segment(B, H)
p = Segment(B, H)
I = Intersect(l, m)
J = Intersect(n, p)
K = Intersect(l, n)
L = Intersect(m, p)
многоъгълник2_1, i_2, k_2, j_2, l_3 = Polygon(I, K, J, L)
многоъгълник2, i_1, k_1, j_1, l_1 = Polygon(I, K, J, L)
q = Segment(A, B)
r = Segment(C, D)
s = Circle(A, D)
t = Circle(D, A)
e_1 = Circle(B, C)
f_1 = Circle(C, B)
M = Intersect(f_1, c_1)
N = Intersect(e_1, d_1)
O = Intersect(t, d_1)
P = Intersect(s, c_1)
g_1 = Segment(P, O)
h_1 = Segment(M, N)
m_3 = Segment(A, O)
m_1 = Segment(A, O)
n_3 = Segment(P, D)
n_1 = Segment(P, D)
p_3 = Segment(C, N)
p_1 = Segment(C, N)
q_3 = Segment(M, B)
q_1 = Segment(M, B)
Q = Intersect(q_1, p_1)
R = Intersect(n_1, m_1)
S = Intersect(q_1, n_1)
T = Intersect(p_1, m_1)
многоъгълник3_1, s_2, q_4, t_2, r_2 = Polygon(S, Q, T, R)
многоъгълник3, s_1, q_2, t_1, r_1 = Polygon(S, Q, T, R)

Tool: Rabat5
Input: A, b, a
Output: многоъгълник1, c_1, a_1, d_1, i, j, m, l, p, n, r, q, многоъгълник2, j_1, k_1, i_1, l_1, b_1, g_1, h_1, m_1, n_1, p_1, q_1, q_2, r_1, s_1, t_1, многоъгълник3

B: (x(A) + a, y(A) + b)
b_2 = Line(A, xAxis)
c = Line(B, xAxis)
d = OrthogonalLine(A, xAxis)
e = OrthogonalLine(B, xAxis)
C = Intersect(c, d)
D = Intersect(b_2, e)
многоъгълник1_1, a_2, d_2, b_3, c_2 = Polygon(A, D, B, C)
многоъгълник1, a_1, d_1, b_1, c_1 = Polygon(A, D, B, C)
f = Circle(A, C)
g = Circle(C, A)
h = Circle(B, D)
k = Circle(D, B)
E = Intersect(g, b_1)
F = Intersect(f, a_1)
i = Segment(E, F)
G = Intersect(h, b_1)
H = Intersect(k, a_1)
j = Segment(G, H)
l_2 = Segment(A, E)
l = Segment(A, E)
m_2 = Segment(C, F)
m = Segment(C, F)
n_2 = Segment(G, D)
n = Segment(G, D)
p_2 = Segment(B, H)
p = Segment(B, H)
I = Intersect(l, m)
J = Intersect(n, p)
K = Intersect(l, n)
L = Intersect(m, p)
многоъгълник2_1, i_2, k_2, j_2, l_3 = Polygon(I, K, J, L)
многоъгълник2, i_1, k_1, j_1, l_1 = Polygon(I, K, J, L)
q = Segment(A, B)
r = Segment(C, D)
s = Circle(A, D)
t = Circle(D, A)
e_1 = Circle(B, C)
f_1 = Circle(C, B)
M = Intersect(f_1, c_1)
N = Intersect(e_1, d_1)
O = Intersect(t, d_1)
P = Intersect(s, c_1)
g_1 = Segment(P, O)
h_1 = Segment(M, N)
m_3 = Segment(A, O)
m_1 = Segment(A, O)
n_3 = Segment(P, D)
n_1 = Segment(P, D)
p_3 = Segment(C, N)
p_1 = Segment(C, N)
q_3 = Segment(M, B)
q_1 = Segment(M, B)
Q = Intersect(q_1, p_1)
R = Intersect(n_1, m_1)
S = Intersect(q_1, n_1)
T = Intersect(p_1, m_1)
многоъгълник3_1, s_2, q_4, t_2, r_2 = Polygon(S, Q, T, R)
многоъгълник3, s_1, q_2, t_1, r_1 = Polygon(S, Q, T, R)

Tool: RabatmanPNN
Input: A, a, b
Output: a_1, b_1, многоъгълник1, d_1, c_1, h_1, g_1, n_1, q_1, p_1, m_1, q, r, многоъгълник3, i, i_1, j, j_1, k_1, l_1, l, m, n, p, q_2, r_1, s_1, t_1, многоъгълник2

B: (x(A) + a, y(A) + b)
b_2 = Line(A, xAxis)
c = Line(B, xAxis)
d = OrthogonalLine(A, xAxis)
e = OrthogonalLine(B, xAxis)
C = Intersect(c, d)
D = Intersect(b_2, e)
многоъгълник1_1, a_2, d_2, b_3, c_2 = Polygon(A, D, B, C)
многоъгълник1, a_1, d_1, b_1, c_1 = Polygon(A, D, B, C)
f = Circle(A, C)
g = Circle(C, A)
h = Circle(B, D)
k = Circle(D, B)
E = Intersect(g, b_1)
F = Intersect(f, a_1)
i = Segment(E, F)
G = Intersect(h, b_1)
H = Intersect(k, a_1)
j = Segment(G, H)
l_2 = Segment(A, E)
l = Segment(A, E)
m_2 = Segment(C, F)
m = Segment(C, F)
n_2 = Segment(G, D)
n = Segment(G, D)
p_2 = Segment(B, H)
p = Segment(B, H)
I = Intersect(l, m)
J = Intersect(n, p)
K = Intersect(l, n)
L = Intersect(m, p)
многоъгълник2_1, i_2, k_2, j_2, l_3 = Polygon(I, K, J, L)
многоъгълник2, i_1, k_1, j_1, l_1 = Polygon(I, K, J, L)
q = Segment(A, B)
r = Segment(C, D)
s = Circle(A, D)
t = Circle(D, A)
e_1 = Circle(B, C)
f_1 = Circle(C, B)
M = Intersect(f_1, c_1)
N = Intersect(e_1, d_1)
O = Intersect(t, d_1)
P = Intersect(s, c_1)
g_1 = Segment(P, O)
h_1 = Segment(M, N)
m_3 = Segment(A, O)
m_1 = Segment(A, O)
n_3 = Segment(P, D)
n_1 = Segment(P, D)
p_3 = Segment(C, N)
p_1 = Segment(C, N)
q_3 = Segment(M, B)
q_1 = Segment(M, B)
Q = Intersect(q_1, p_1)
R = Intersect(n_1, m_1)
S = Intersect(q_1, n_1)
T = Intersect(p_1, m_1)
многоъгълник3_1, s_2, q_4, t_2, r_2 = Polygon(S, Q, T, R)
многоъгълник3, s_1, q_2, t_1, r_1 = Polygon(S, Q, T, R)

Tool: rombus
Input: E, C
Output: h_1, g_1, i_1, j_1, c_1, d_1, e_1, f_1

p = OrthogonalLine(E, xAxis)
q = OrthogonalLine(C, xAxis)
r = Line(E, xAxis)
s = Line(C, xAxis)
D = Intersect(s, p)
F = Intersect(r, q)
многоъгълник1, e_1, f_1, c_1, d_1 = Polygon(E, F, C, D)
G = Midpoint(c_1)
H = Midpoint(d_1)
I = Midpoint(e_1)
J = Midpoint(f_1)
многоъгълник2, h_1, g_1, j_1, i_1 = Polygon(H, G, J, I)

Tool: tri
Input: E, C
Output: s_1, t_1, c_1, d_1, e_1, f_1, n_1, r_1

p = OrthogonalLine(E, xAxis)
q = OrthogonalLine(C, xAxis)
r = Line(E, xAxis)
s = Line(C, xAxis)
D = Intersect(s, p)
F = Intersect(r, q)
многоъгълник1, e_1, f_1, c_1, d_1 = Polygon(E, F, C, D)
t = Circle(E, d_1 / 3.0)
k_1 = Circle(D, d_1 / 3.0)
p_1 = Circle(D, c_1 / 3.0)
q_1 = Circle(C, c_1 / 3.0)
M = Intersect(p_1, c_1)
N = Intersect(q_1, c_1)
O = Intersect(t, d_1)
L = Intersect(k_1, d_1)
a_1 = Line(L, c_1)
b_1 = Line(O, e_1)
l_1 = Line(M, d_1)
m_1 = Line(N, d_1)
P = Intersect(a_1, f_1)
Q = Intersect(b_1, f_1)
R = Intersect(m_1, e_1)
S = Intersect(l_1, e_1)
n_1 = Segment(M, S)
r_1 = Segment(N, R)
s_1 = Segment(L, P)
t_1 = Segment(O, Q)

Tool: tool9
Input: E, C
Output: c_1, f_1, d_1, e_1, t_1, s_1

p = OrthogonalLine(E, xAxis)
q = OrthogonalLine(C, xAxis)
r = Line(E, xAxis)
s = Line(C, xAxis)
D = Intersect(s, p)
F = Intersect(r, q)
многоъгълник1, e_1, f_1, c_1, d_1 = Polygon(E, F, C, D)
t = Circle(E, d_1 / 3.0)
k_1 = Circle(D, d_1 / 3.0)
O = Intersect(t, d_1)
L = Intersect(k_1, d_1)
a_1 = Line(L, c_1)
b_1 = Line(O, e_1)
P = Intersect(a_1, f_1)
Q = Intersect(b_1, f_1)
s_1 = Segment(L, P)
t_1 = Segment(O, Q)

Tool: tool10
Input: E, C
Output: d_1, c_1, f_1, e_1, r_1, n_1

p = OrthogonalLine(E, xAxis)
q = OrthogonalLine(C, xAxis)
r = Line(E, xAxis)
s = Line(C, xAxis)
D = Intersect(s, p)
F = Intersect(r, q)
многоъгълник1, e_1, f_1, c_1, d_1 = Polygon(E, F, C, D)
p_1 = Circle(D, c_1 / 3.0)
q_1 = Circle(C, c_1 / 3.0)
M = Intersect(p_1, c_1)
N = Intersect(q_1, c_1)
l_1 = Line(M, d_1)
m_1 = Line(N, d_1)
R = Intersect(m_1, e_1)
S = Intersect(l_1, e_1)
n_1 = Segment(M, S)
r_1 = Segment(N, R)