When dealing with stretching a function, vertical stretches affect the output of the function while horizontal stretches affect the input.
That is, is vertical stretch by a factor of 2 is expressed as 2f(x). On the other hand, a horizontal stretch is expressed as: f(2x).
So
