f(x) = 2^x
g(x) = f(x)+k = 2^x+2
The +2 at the end shifts the graph of f(x) upward 2 units. This is because we add 2 to each y coordinate. For example, the point (3,8) on f(x) shifts upward to (3,10) on g(x). You can confirm this through graphing tools like GeoGebra or Desmos.