A = Intersect(xAxis, yAxis)
f: x = 1
g: y = sqrt(2)
B = Intersect(g, yAxis)
C = Intersect(f, g)
D = Intersect(f, xAxis)
h = Segment(A, B)
i = Segment(B, C)
j = Segment(C, D)
k = Segment(A, D)
E = Midpoint(A, D)
l = OrthogonalLine(E, k)
F = Intersect(l, i)
m = Segment(F, E)
G = (1.8007921315586886, 0.8851138108419847)
H = (1.8807603801978334, 0.629452460942469)
poly1, n, p, q, r, s, I, J, K = Polygon(G, H, 5)
t = Segment(H, I)
a = Segment(I, J)
b = Segment(J, K)
c = Segment(K, G)
d = Segment(G, H)
e = Segment(H, J)
f_1 = Segment(J, G)
g_1 = Segment(G, I)
h_1 = Segment(I, K)
i_1 = Segment(K, H)
L = Intersect(g_1, i_1)
M = Intersect(e, g_1)
N = Intersect(e, h_1)
O = Intersect(f_1, h_1)
P = Intersect(f_1, i_1)
N' = Mirror(N, g_1)
P' = Mirror(P, g_1)
L' = Mirror(L, e)
O' = Mirror(O, e)
M' = Mirror(M, h_1)
P'_1 = Mirror(P, h_1)
j_1 = Segment(N', M)
k_1 = Segment(P', L)
l_1 = Segment(L', M)
m_1 = Segment(O', N)
n_1 = Segment(N, M')
p_1 = Segment(O, P'_1)
M'_1 = Mirror(M, i_1)
O'_1 = Mirror(O, i_1)
q_1 = Segment(M'_1, L)
r_1 = Segment(P, O'_1)
s_1 = Segment(P, L)
t_1 = Segment(L, M)
a_1 = Segment(M, N)
b_1 = Segment(N, O)
c_1 = Segment(P, O)
L'_1 = Mirror(L, f_1)
N'_1 = Mirror(N, f_1)
d_1 = Segment(L'_1, P)
e_1 = Segment(N'_1, O)
f_2 = Segment(N'_1, K)
g_2 = Segment(K, L'_1)
h_2 = Segment(O'_1, G)
i_2 = Segment(G, M'_1)
j_2 = Segment(P', H)
k_2 = Segment(H, N')
l_2 = Segment(L', I)
m_2 = Segment(I, O')
n_2 = Segment(M', J)
p_2 = Segment(J, P'_1)
Q = Point(h)
R = Point(h)
S = Point(h)
q_2 = OrthogonalLine(Q, h)
r_2 = OrthogonalLine(R, h)
s_2 = OrthogonalLine(S, h)
side = Distance(G, H)
TextGH: Name[G] + (Name[H]) + " = " + side
T = Intersect(q_2, m)
c_2 = Circle(T, side)
U = Intersect(c_2, m, 1)
t_2, a_2, b_2, d_2, e_2, f_3, g_3, h_3, i_3, j_3, k_3, l_3, m_3, n_3, p_3, q_3, r_3, s_3, t_3, a_3, b_3, c_3, d_3, e_3, f_4 = pentagon(T, U)
g_4, h_4, i_4, j_4, k_4, l_4, m_4, n_4, p_4, q_4, r_4, s_4, t_4, a_4, b_4, c_4, d_4, e_4, f_5, g_5, h_5, i_5, j_5, k_5, l_5 = pentagon(U, T)
V = Intersect(r_2, m)
c_5 = Circle(V, side)
W = Intersect(c_5, m, 1)
m_5, n_5, p_5, q_5, r_5, s_5, t_5, a_5, b_5, d_5, e_5, f_6, g_6, h_6, i_6, j_6, k_6, l_6, m_6, n_6, p_6, q_6, r_6, s_6, t_6 = pentagon(V, W)
a_6, b_6, c_6, d_6, e_6, f_7, g_7, h_7, i_7, j_7, k_7, l_7, m_7, n_7, p_7, q_7, r_7, s_7, t_7, a_7, b_7, c_7, d_7, e_7, f_8 = pentagon(W, V)
Z = Intersect(s_2, m)
c_8 = Circle(Z, side)
A_1 = Intersect(c_8, m, 2)
g_8, h_8, i_8, j_8, k_8, l_8, m_8, n_8, p_8, q_8, r_8, s_8, t_8, a_8, b_8, d_8, e_8, f_9, g_9, h_9, i_9, j_9, k_9, l_9, m_9 = pentagon(Z, A_1)
n_9, p_9, q_9, r_9, s_9, t_9, a_9, b_9, c_9, d_9, e_9, f_{10}, g_{10}, h_{10}, i_{10}, j_{10}, k_{10}, l_{10}, m_{10}, n_{10}, p_{10}, q_{10}, r_{10}, s_{10}, t_{10} = pentagon(A_1, Z)

Tool: pentagon
Input: G, H
Output: j_1, k_1, l_1, m_1, n_1, p_1, q_1, r_1, s_1, t_1, a_1, b_1, c_1, d_1, e_1, f_2, g_2, h_2, i_2, j_2, k_2, l_2, m_2, n_2, p_2

poly1, n, p, q, r, s, I, J, K = Polygon(G, H, 5)
e = Segment(H, J)
f_1 = Segment(J, G)
g_1 = Segment(G, I)
h_1 = Segment(I, K)
i_1 = Segment(K, H)
L = Intersect(g_1, i_1)
M = Intersect(e, g_1)
N = Intersect(e, h_1)
O = Intersect(f_1, h_1)
P = Intersect(f_1, i_1)
N' = Mirror(N, g_1)
P' = Mirror(P, g_1)
L' = Mirror(L, e)
O' = Mirror(O, e)
M' = Mirror(M, h_1)
P'_1 = Mirror(P, h_1)
j_1 = Segment(N', M)
k_1 = Segment(P', L)
l_1 = Segment(L', M)
m_1 = Segment(O', N)
n_1 = Segment(N, M')
p_1 = Segment(O, P'_1)
M'_1 = Mirror(M, i_1)
O'_1 = Mirror(O, i_1)
q_1 = Segment(M'_1, L)
r_1 = Segment(P, O'_1)
s_1 = Segment(P, L)
t_1 = Segment(L, M)
a_1 = Segment(M, N)
b_1 = Segment(N, O)
c_1 = Segment(P, O)
L'_1 = Mirror(L, f_1)
N'_1 = Mirror(N, f_1)
d_1 = Segment(L'_1, P)
e_1 = Segment(N'_1, O)
f_2 = Segment(N'_1, K)
g_2 = Segment(K, L'_1)
h_2 = Segment(O'_1, G)
i_2 = Segment(G, M'_1)
j_2 = Segment(P', H)
k_2 = Segment(H, N')
l_2 = Segment(L', I)
m_2 = Segment(I, O')
n_2 = Segment(M', J)
p_2 = Segment(J, P'_1)