To stretch a function f(x) horizontally by a factor c we have to follow the rule:
So, in this case, the function f(x) stretch by a factor of 3 woulb be:
To translate up a function f(x) by c units, we have to follow the rule:
Applying this to our function y, and renaming it g(x), we have
So our function g(x) will be