Let
f(x) = k(x) if x > 0
f(x) = -1/(2x) - x if x < 0
f(x) = 0 if x = 0
Find the function k(x) such that f(x) is its own inverse function.