Answer:
Move all the terms that do not contain k to the right side of the equation, then solve.
[tex]k=3+\frac{z}{2}[/tex]
Hope this helps!