A = (-1.387239037538558, 2.432196514202228)
B = (19.227594735292104, 1.5732451070009457)
C = (13.846556759981764, 13.185153540226622)
polígono1, c, a, b = Polygon(A, B, C)
P = (15.382554962893913, -4.307607857433024)
polígono2, D, E, F = TrianguloCeviano(A, B, C, P)
B'_1 = Rotate(B, 45*°, C)
C'_1 = Rotate(C, 315*°, B)
d = Line(B, C'_1)
e = Line(C, B'_1)
f = Line(D, e)
g = Line(D, d)
D_a = Intersect(d, e)
D_c = Intersect(e, g)
D_b = Intersect(d, f)
h = Circle(D_a, D)
k = Circle(D_c, B)
p = Circle(D_b, C)
i = EjeRadical(D_a, D, D_c, B)
j = EjeRadical(D_c, B, D_b, C)
A' = Intersect(j, i)
B' = Herramienta5(B, C, A, P)
C' = Herramienta5(C, A, B, P)
l = Line(A, A')
m = Line(B, B')
n = Line(C, C')
q = Semicircle(D, B)
r = Semicircle(C, D)
s = Semicircle(C, B)
t = Line(B, C)
a_1 = Line(C, A)
b_1 = Line(A, B)

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: Triangulo Ceviano (command TrianguloCeviano)
Dar ABC y P
Input: A, B, C, P
Output: polígono2, A', B', C'

d = Line(B, C)
e = Line(C, A)
f = Line(A, B)
g = Line(A, P)
h = Line(B, P)
i = Line(C, P)
A' = Intersect(d, g)
B' = Intersect(e, h)
C' = Intersect(f, i)
polígono2, f_1, d_1, e_1 = Polygon(A', B', C')

Tool: EjeRadical
Dar centro, punto y centro, punto
Input: A, B, C, D
Output: i

e = Circle(B, D, A)
E = Center(e)
a = Segment(A, E)
b = Segment(E, C)
B' = Mirror(B, a)
D' = Mirror(D, b)
f = Segment(A, C)
g = Line(B, B')
h = Line(D', D)
F = Intersect(g, h)
i = OrthogonalLine(F, f)

Tool: Herramienta5
Input: A, B, C, P
Output: A'

polígono2, D, E, F = TrianguloCeviano(A, B, C, P)
B' = Rotate(B, 45*°, C)
C' = Rotate(C, 315*°, B)
d = Line(B, C')
e = Line(C, B')
f = Line(D, e)
g = Line(D, d)
G = Intersect(d, e)
H = Intersect(e, g)
I = Intersect(d, f)
i = EjeRadical(G, D, H, B)
j = EjeRadical(H, B, I, C)
A' = Intersect(j, i)