b

m = 0.5 (slider from -5 to 5, step 0.1)
x_A = 2 (slider from -5 to 5, step 0.1)
y_A = 3.2 (slider from -5 to 5, step 0.1)
A: (x_A, y_A)
b: ((-m) * x_A) + y_A
B: (0, b)
X_A: (x_A, 0)
Y_A: (0, y_A)
f = Segment(X_A, A)
h = Segment(A, Y_A)
f_s(x) = (m * (x - x_A)) + y_A
Text1: "f(x)=" + (LaTeX[m]) + "x+(" + (LaTeX[b]) + ")\\
\;\;\;\;\;\;\;\;=" + (LaTeX[m]) + "(x-(" + (LaTeX[x_A]) + "))+(" + (LaTeX[y_A]) + ")"