We can combine operations, as long as we pay attention to the order in which we
alter inputs and outputs. Operations on outputs follow the order of
operations, and operations on inputs
follow the reverse order of operations (since we have to "undo" them). Thus,
the equation of a function stretched vertically by a factor of 2 and then
shifted 3 units up is
y = 2f (x) + 3, and the equation of a function stretched
horizontally by a factor of 2 and then shifted 3 units right is
y = f (
(x - 3)) = f (
x -
).