$x²=1²+1²-2×1×1×cos108°$
$\;\;\;\;\;=2+2sin18°=\frac{3+\sqrt5}{2}$
$x=\sqrt{\frac{3+\sqrt5}{2}}=\sqrt\frac{6+2\sqrt5}{4}=\frac{\sqrt5+1}{2}$

A = (-1.8, 1.86)
P = (-3.34, -2.64)
Q = Point(Ray[P + (0.2, 0), P + (1, 0)])
a = Segment(P, Q)
b: y = y(A)
c_1 = Circle(A, 2 * a)
F = Intersect(c_1, b, 2)
c: x = x(F)
c_2 = Circle(F, a)
H = Intersect(c_2, c, 1)
c_3 = Circle(H, a)
d = Ray(A, H)
I = Intersect(c_3, d, 2)
G = Midpoint(A, I)
c_4 = Circle(A, G)
D = Intersect(c_4, b, 2)
f = LineBisector(A, D)
c_5 = Circle(A, a)
E = Intersect(c_5, f, 2)
c_6 = Circle(D, E)
C = Intersect(c_4, c_6, 2)
c_7 = Circle(C, D)
B = Intersect(c_5, c_7, 2)
poly1, a_1, h_1, g_1, i, j = Polygon(A, E, D, C, B)