Question: how do you find the inverse of a polynomial function?
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.