A = (0, 2)
B = (10, 3)
g = Line(A, B)
P: (4, 2.41)
x_0 = 3.1 (slider from 3 to 5)
Q: (x_0, g(x_0))