f: y = (3 * x) + 6
g: y = (3 * x) - 4
A = Point(f)
b = 5 (slider from 3 to 6)
B: (b, (3 * b) - 4)
i = Line(A, B)
len: sqrt((b - 2)^(2) + ((3 * b) - 16)^(2))
text1: "Distance from A to B = " + len + ""