Translations and stretches of function

Translations of a function: g(x)=a*f(b*(x-c))+d

To change f, enter new function in Input field. f(x)=.....