Hey guys, I completely forgot how to do this problem.

Find an equation for the line tangent to the graph of $\displaystyle f^{-1}$ at the point (3,1) if f(x)=$\displaystyle x^3$+2$\displaystyle x^2$-x+1.

I'm not sure if a formal proof is needed and if so how to do it.