The function g(x) is a transformation of f(x). If g(x) has a y-intercept of -2, which of the following functions could represent g(x)?
A. g(x) = f(x) - 5
B. g(x) = f(x-5)
C. g(x) = f(x+2)
D.g(x) = f(x) - 2