Given that it is a linear function, we know the form:

m is slope.
Given slope is 5, we can write:

Now,
Given g(k) = 3, we can write:

Again, given
g(5) = 2k, so we can write:

We have two equations is k and b. We can write both in terms of k and solve. Shown below:
Equation 1:

Equation 2:

Now, we equate both of these equations and solve for k. Shown below:

So, the value of k is 4.
k = 4 (answer)