The correct answer is f(x) - 1 and g(x) + 1.
The y-intercept of f(x) is 1; it is in slope-intercept form, f(x)=mx+b, where b is the y-intercept. 1 is the b-value, so 1 is the y-intercept.
To find the y-intercept of g(x), replace x with 0:
3^0-2 = 1-2 = -1
To make them the same, you can shift f(x) down 1, -1, and g(x) up one, +1.