Could someone please show me the steps to get this answer?

Confirm that f and g are inverses by showing that f(g(x)) = x and g(f(x)) = x.

f(x) = (x-9)/(x+5)

g(x) = (-5x-9)/(x-1)