Answer: Thus, the equation of a function stretched vertically by a factor of 2 and then shifted 3 units up is y = 2f (x) + 6, and the equation of a function stretched horizontally by a factor of 2 and then shifted 6 units left is y = f ( (x - 6)) = f ( x - ). Example: f (x) = 2x2.