dirección del eje

P_1 = (0.56, -0.38)
P_2 = (9.874010546383227, -1.1044256525151448)
P_3 = (2.3132647731279907, 4.345202794441553)
A = (0.1535426525728112, -8.356359147109506)
B = (4.965417283980252, -5.207848585818216)
u = Vector(A, B)
polígono1, c, a, b = Polygon(P_1, P_2, P_3)
d = Line(P_1, a)
e = Line(P_2, b)
f = Line(P_3, c)
P'_1 = Intersect(e, f)
P'_2 = Intersect(d, f)
P'_3 = Intersect(d, e)
g = Line(P'_1, u)
Q_1 = Intersect(d, g)
h = Line(P'_2, u)
Q_2 = Intersect(e, h)
i = Line(P'_3, u)
Q_3 = Intersect(f, i)
k = Conic(P_1, P_2, P_3, Q_2, Q_3)