A = (-3, 2)
B = (3, 1)
C = (1, 3)
polígono1, c, a, b = Polygon(A, B, C)
d = Line(A, B)
e = Line(A, C)
f = Line(B, C)

Tool: Bisectrices_exteriores
Triángulo
Input: polígono1
Output: d_1, f_1, h

A = (-0.36, 2.08)
B = (0.62, 3.68)
C = (2.24, 1.54)
polígono1, c, a, b = Polygon(A, B, C)
d_1, e_1 = AngularBisector(b, a)
f_1, g = AngularBisector(c, a)
h, i = AngularBisector(c, b)

Tool: Excentros
Triángulo
Input: polígono1
Output: E_A, E_B, E_C

A = (-2.82, 1.44)
B = (0.58, 4.84)
C = (2.24, 1.54)
polígono1, c, a, b = Polygon(A, B, C)
d_2, e_2 = AngularBisector(b, a)
d_1, e_1 = AngularBisector(b, a)
h_1, i_1 = AngularBisector(c, b)
h, i = AngularBisector(c, b)
E_C = Intersect(e_1, h)
E_A = Intersect(d_1, i)
E_B = Intersect(d_1, h)

Tool: Exinscritas (circunferencias) (command Exinscritas)
Triángulo
Input: polígono1
Output: k, p, q

A = (-2.82, 1.44)
B = (0.14, 4.5)
C = (1.6400000000000001, 1.6)
polígono1, c, a, b = Polygon(A, B, C)
d_2, e_2 = AngularBisector(b, a)
d_1, e_1 = AngularBisector(b, a)
h_1, i_1 = AngularBisector(c, b)
h, i = AngularBisector(c, b)
E_C = Intersect(e_1, h)
E_A = Intersect(d_1, i)
E_B = Intersect(d_1, h)
d = OrthogonalLine(E_A, a)
e = OrthogonalLine(E_C, c)
D = Intersect(e, c)
E = Intersect(d, a)
f = OrthogonalLine(E_B, b)
F = Intersect(f, b)
k = Circle(E_A, E)
p = Circle(E_C, D)
q = Circle(E_B, F)

Tool: Exteriores (triángulos) (command Exteriores)
Triángulo
Input: polígono1
Output: polígono2, polígono3, polígono4

A = (-2.16, 1.78)
B = (0.22, 3.58)
C = (1.3800000000000001, 1.74)
polígono1, c, a, b = Polygon(A, B, C)
d_3, e_3 = AngularBisector(b, a)
d_1, e_1 = AngularBisector(b, a)
h_1, i_1 = AngularBisector(c, b)
h, i = AngularBisector(c, b)
E_C = Intersect(e_1, h)
E_A = Intersect(d_1, i)
E_B = Intersect(d_1, h)
d = OrthogonalLine(E_A, a)
e = OrthogonalLine(E_C, c)
D = Intersect(e, c)
E = Intersect(d, a)
f = OrthogonalLine(E_B, b)
F = Intersect(f, b)
k = Circle(E_A, E)
p = Circle(E_C, D)
q = Circle(E_B, F)
G = Point(c)
H = Point(c)
I = Point(a)
J = Point(a)
K = Point(b)
L = Point(b)
j = Line(I, J)
l = Line(L, K)
m = Line(H, G)
M = Intersect(p, j, 1)
N = Intersect(p, l, 1)
O = Intersect(q, m, 1)
P = Intersect(q, j, 1)
Q = Intersect(k, l, 1)
R = Intersect(k, m, 1)
polígono2, r, e_2, q_1 = Polygon(E, Q, R)
polígono3, m_1, n, d_2 = Polygon(N, D, M)
polígono4, p_1, o, f_2 = Polygon(O, F, P)