Functions f(x) and g(x) are shown below.

f(x) = x^2
g(x) = x^2 + 8x + 16

In which direction and by how many units should f(x) be shifted to obtain g(x)?



Answer :

To get the 8x part, shift left by 8. To get the 16 part, shift up by 16.