Answer:
g(x) = e^(x + 2) + 2
Explanation:
First, let's describe the shifts.
Vertical shift.
For a function f(x), a vertical shift of N units is written as:
g(x) = f(x) + N
If N is positive, then the shift is upwards.
If N is negative, then the shift is downwards.
Horizontal shift.
For a function f(x), a horizontal shift of N units is written as:
g(x) = f(x - N)
If N is positive, the translation is to the right
If N is negative, the translation is to the left.
Now let's solve the question.
f(x) = e^x
First, we have a vertical shift up of 2 units, then:
g(x) = f(x) + 2
Now we have a shift to the left of 2 units:
g(x) = f(x - (-2)) + 2
g(x) = f(x + 2) + 2
Then:
g(x) = e^(x + 2) + 2