janan AB

f: y = x^(2)
A: (0, 1, 2)
B = Point(f)
g = Segment(A, B)