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

find the range of the following
f(g(x))
g(f(x))