$P$

$t_1$

$t_2$

$P_1$

$P_2$

$Q$

$M$

$X$

$Y$

P = (0.4595595370783189, 3.0541782988498487)
A = (-0.15961874793675937, 4.973630982396595)
B = (5.004328149088994, 2.484534276635976)
t_1 = Line(A, B)
C = (1.6483818443072693, 0.5031637645877217)
D = (4.930026754887185, 1.9148902544221027)
t_2 = Line(C, D)
P_1 = Point(t_1)
P_2 = Point(t_2)
Q = Intersect(t_1, t_2)
a = Line(P, P_1)
b = Line(P, P_2)
c = Circle(Q, P_1)
M = Point(c)
d = Line(Q, M)
X = Intersect(a, d)
Y = Intersect(b, d)
e = Line(P_1, Y)
f = Line(P_2, X)
G = Intersect(f, e)
lugar1 = Locus(G, M)