The value of k is 4.
This is because if you look at the graph, g(x) is 4 units higher than f(x).
You can also find a point on the graph:
g(x) = f(x) + k I will be using x = 0
g(0) = f(0) + k
When x = 0, g(0) = 2
When x = 0, f(0) = -2
Since you know f(0) = -2, you can plug in -2 for f(0) in the equation
g(0) = f(0) + k
g(0) = -2 + k
Since you know g(0) = 2, you can plug in 2 for g(0) in the equation
g(0) = -2 + k
2 = -2 + k Add 2 on both sides to get "k" by itself
4 = k