Graphing a function transformation in f(x) notation?

Not sure what the exact desired outcome is, but you could use a composition of functions defined in the graph itself to create this effect. Granted, the students would be typing “2x-2” instead of “f(2x-2)” in this example.