Cónica: dados dos puntos y sus dos directrices

$d_1$

$d_2$

$P_1$

$P_2$

$M_1$

$M_2$

$N_1$

$N_2$

$\Gamma_1$

$\Gamma_2$

$\delta$

$\Gamma '_1$

$F_2$

$F'_2$

$F_1$

$F'_1$

A = (-2.1930799056848085, 4.380704305553693)
B = (-2.1766697692066552, 1.1110700262338657)
d_1 = Line(A, B)
C = (2.2160344879558744, 2.9006902791519353)
d_2 = Line(C, d_1)
P_1 = (-0.25599828792095, 2.2520547485430846)
P_2 = (1.4706733843797195, 0.9774302725127942)
a = Line(P_1, P_2)
M_1 = Intersect(d_1, a)
M_2 = Intersect(d_2, a)
D = Midpoint(P_1, P_2)
c = Circle(D, P_1)
b = Polar(M_1, c)
d = Polar(M_2, c)
N_1 = Intersect(a, b)
N_2 = Intersect(a, d)
E = Midpoint(M_1, N_1)
F = Midpoint(N_2, M_2)
c_1 = Circle(E, M_1)
f = Circle(F, M_2)
G = Midpoint(M_1, M_2)
δ = Line(G, d_1)
c'_1 = Mirror(c_1, δ)
F_2, F'_2 = Intersect(f, c'_1)
F_1 = Mirror(F_2, δ)
F'_1 = Mirror(F'_2, δ)
h = Ellipse(F_1, F_2, P_1)
k = Ellipse(F'_1, F'_2, P_2)
p = Hyperbola(F_1, F_2, P_1)
q = Hyperbola(F'_1, F'_2, P_1)