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