A = (-0.9048853536385956, -2.5306855543654354)
B = (24.57529339964967, -2.930061396893466)
C = (15.903604796438797, 13.58286056483241)
polígono1, c, a, b = Polygon(A, B, C)
X_3 = TriangleCenter(A, B, C, 3)
X_4 = TriangleCenter(A, B, C, 4)
d = Segment(A, X_4)
O_a = Mirror(X_3, d)
H_a = Mirror(X_4, O_a)
M_a = Midpoint(H_a, O_a)
M_b = PuntoMa(B, C, A)
M_c = PuntoMa(C, A, B)
polígono2, m_c, m_a, m_b = Polygon(M_a, M_b, M_c)
X = (26.725015530088786, 10.66348624849955)
S, X' = Afinidad(A, B, C, M_a, M_b, M_c, X)

Tool: TrianguloETC
Dar el vértice A
Input: A_{etc}
Output: B_{etc}, C_{etc}, a, polígono1

c = Circle(A_{etc}, 13)
B_{etc} = Point(c)
d = Circle(A_{etc}, 9)
e = Circle(B_{etc}, 6)
C_{etc} = Intersect(d, e, 1)
polígono1, c_{etc}, a_{etc}, b_{etc} = Polygon(A_{etc}, B_{etc}, C_{etc})
a = Line(B_{etc}, C_{etc})

Tool: Coordenadas Trilineales (command CoordenadasTrilineales)
Dar los vértices de ABC y un  punto P
Input: A, B, C, P
Output: texto2, CoordTrilineales

q_1 = Segment(B, P)
e = Line(A, C)
E_1 = Intersect(e, q_1)
d = Line(C, B)
p_1 = Segment(A, P)
D_1 = Intersect(d, p_1)
ABC, c, a, b = Polygon(A, B, C)
e_1 = OrthogonalLine(P, a)
D = Intersect(e_1, d)
p = Segment(P, D)
α = If(Defined[D_1], -p, p)
f_1 = OrthogonalLine(P, b)
g = OrthogonalLine(P, c)
f = Line(A, B)
E = Intersect(f_1, e)
F = Intersect(g, f)
r_1 = Segment(P, C)
q = Segment(P, E)
r = Segment(P, F)
F_1 = Intersect(f, r_1)
β = If(Defined[E_1], -q, q)
γ = If(Defined[F_1], -r, r)
CoordTrilineales: {α, β, γ}
texto2: "" + CoordTrilineales + ""

Tool: Punto Ma (command PuntoMa)
Dar ABC
Input: A, B, C
Output: M_a

X_3 = TriangleCenter(A, B, C, 3)
X_4 = TriangleCenter(A, B, C, 4)
d = Segment(A, X_4)
O_a = Mirror(X_3, d)
H_a = Mirror(X_4, O_a)
M_a = Midpoint(H_a, O_a)

Tool: Afinidad
Dado ABC, A'B'C' y X, determiana el punto fijo propio y la imagen de X
Input: A, B, C, A', B', C', X
Output: F, X'

polígono1, c, a, b = Polygon(A, B, C)
polígono2, f, d, e = Polygon(A', B', C')
g = Line(A, a)
h = Line(C, c)
i = Line(A', d)
j = Line(C', f)
k = Line(A, B)
l = Line(A', B')
L = Intersect(k, l)
m = Line(B, C)
n = Line(B', C')
M = Intersect(m, n)
N = Intersect(j, h)
P = Intersect(g, i)
p = Line(L, N)
q = Line(M, P)
F = Intersect(p, q)
r = Line(X, c)
U = Intersect(p, r)
s = Line(X, g)
V = Intersect(q, s)
t = Line(U, f)
a_1 = Line(V, i)
X' = Intersect(a_1, t)