A = (2.42, 3.86)
B = (2, 0)
g = Line(A, B)
Z = (-1.06, -2.36)
k = 1.5 (slider from -0.5 to 2, step 0.5)
P = Point(g)
P' = Dilate(P, k, Z)
b = Segment(Z, P')