Question: how to solve a quadratic equation in reverse?
Answer: Replace f ( x ) f(x) f(x) by y.
Switch the roles of x and y. ... 
Solve for y in terms of x.
Replace y by f − 1 ( x ) {f^{ - 1}}\left( x \right) f−1(x) to get the inverse function.