Let define the function
$$f(x)=(a+b)\frac{16(\pi+x)x}{5\pi^2+4(\pi+x)x}-b\frac{(\pi^2-4x^2)x}{\pi^2+x^2}$$
for $x \in [\frac{-\pi}{2},0]$ such that $a,b \in \mathbb{R}$ and $0<a<b$.
What is the inverse of $f$ on $[\frac{-\pi}{2},0]$ ?
I tried to calculate it several times but I did not succeed.