M'N' = |k|.MN

k = 1.7 (slider from -5 to 5, step 0.1)
A = (2.7151413808402967, 9.38827425613141)
B = (7.256003467160496, 9.38827425613141)
C = (13.848985919413861, 23.09818478598278)
O = (7.648962686168975, 18.033377074317944)
M = (18.9137936310787, 24.015089630335897)
N = (17.167308213263237, 18.120701345208715)
a = Segment(M, N)
M' = Dilate(M, k, O)
N' = Dilate(N, k, O)
a' = Segment(M', N')
b = Segment(O, M)
c = Segment(M, M')
d = Segment(O, N)
e = Segment(N, N')