In order to calculate g^-1(-9), since it's an inverse function, we just need to find the value of x for y = -9.
Looking at the set of points of g, we can see that for y = -9 we have x = 6, so:
Then, to find h^-1(x), let's change h(x) by x and x by h^-1(x) in the function:
Finally, calculating (h o h^-1)(4), that is, the composite function h of h^-1 of 4 we have: