g(x)=a\cdot f(bx-c)+d 

f(x) = 2 x^(3) - 5 x^(2) - x + 1
a = 1 (slider from -5 to 5, step 0.1)
b = 1 (slider from -5 to 5, step 0.1)
c = 0 (slider from -5 to 5, step 0.1)
d = 1 (slider from -5 to 5, step 0.1)
g(x) = a f(b x - c) + d