You may have miscalculated the effect of subtracting from the input of the function. It will shift the graph of
to the right by
units.
So, for example, the valley with they y-axis on the interval in the graph of
becomes a valley with the y-axis running through the center in the graph of
. This does not match the given graph.