We have $$ f(x) = \tan(x)-x $$ $$ f: \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) \to \Bbb{R}\ $$
Obviously, $$ f'(x) = \tan^{2}(x) $$
We don't know how the inverse function looks like, let's call the inverse function g(x), what we only know is that:
$$ g'(x) = \frac{1}{f'(g(x))} $$
I did this, and I got $$ g'(x) = \frac{1}{\tan^{2}(g(x))} $$
But our task is to come to $$ g'(x) = (g(x)+x)^{-2} $$
And I just don't know how to get there. Can anyone help me please. I tried my best, what I think of is, that you can rewrite $$ \tan(x) $$ as $$\tan(x) = (\tan(x)-x)+x $$