g(x) =

x

x+b

g(x) = (1 / 3 * x^(3)) - x^(2)
b = 1 (slider from -5 to 5)
f(x) = g(x + b)
Eingabefeld1 = Textfield(g)
Text1: "f(x) = g(x + b) = " + (LaTeX[f]) + ""
X = Point(xAxis)
Y: X + (b, 0)
sf = Segment(X, (x(X), f(x(X))))
sg = Segment(Y, (x(Y), g(x(Y))))