To solution 1: Which 'quick computation' shows that the x_r you choose works?
To solution 2: What do you mean by 'honest inverse function'? I assume f(g(x)) = x and g(f(x)) = x?
Also, solutions should be separated into distinct answer boxes.