homothetie

O = (-1.84, 5.74)
k = 2.9 (slider from -5 to 5)
A = (1.8, 3.86)
C = (2.32, 4.84)
B = (2.92, 3.8)
t2, g, e, f = Polygon(A, C, B)
A' = Dilate(A, k, O)
C' = Dilate(C, k, O)
B' = Dilate(B, k, O)
t2', g', e', f' = Polygon(A', C', B')
h = Ray(O, C)
i = Ray(O, B)
j = Ray(O, A)
l = Ray(O, C')
m = Ray(O, B')
n = Ray(O, A')