$\overline{AB}=2,\overline{BC}=1$
$\overline{AC}=\sqrt5,\overline{CD}=1$
$\overline{AD}=\sqrt5-1$
$\overline{AE}=\overline{AF}=\frac{\sqrt5-1}{2}$

P = (1.4849556151651673, -3.8386260650933823)
j = Ray(P, P + (1, 0))
A = (2.4307368536111618, -3.180691290522256)
L_1: y = y(A)
Q = Point(j)
a = Segment(P, Q)
B: A + (2 * a, 0)
L_2: x = x(B)
C: B + (0, a)
d = Segment(A, C)
c_1 = Circle(C, a)
D = Intersect(c_1, d, 1)
E = Midpoint(A, D)
c_2 = Circle(A, E)
F = Intersect(c_2, L_1, 2)
g = Segment(A, F)