y=mx+n

m = 3 (slider from -10 to 10, step 0.5)
A = (0, 0)
g: y = m * (x - 1) + 1
B = (1, 1)
f: y = m * x