Given:
The function is:

The graph of the function
is given.
To find:
The value of k.
Solution:
We have,


Using these two functions, we get

From the given graph it is clear that the graph of g(x) passes through the point (0,2). It means the point (0,2) satisfies the function g(x).
Substituting
and
in the above function, we get





Therefore, the value of k is 6.