Defining $h(x) = x-2$, $k(x) = \frac{2x+3}{5-x}$ and $\ell(x)=2x-3$, which are both invertible functions, we have
$$g(\ell(x)) = k(f(h(x))$$
Inverting the functions yields
$$\ell^{-1}(g^{-1}(x)) = h^{-1}(f^{-1}(k^{-1}(x)))$$
so that, applying $\ell$ to both sides, we get
$$g^{-1}(x) = \ell(h^{-1}(f^{-1}(k^{-1}(x))))$$
[Note that the order of the functions in a composite is reversed when you invert them.]
Finding expressions for $h^{-1}$, $k^{-1}$ and $\ell^{-1}$ isn't too difficult; doing so will yield the desired expression for $g^{-1}$ in terms of $f^{-1}$.