Explanation:
the domain is the interval of the x (input) values.
in other words, is g(x) invalid for certain x ?
it does not look like it. it looks like g(x) is valid for every possible value of x from -infinite to +infinite.
the range is the interval of possible y (functional) values.
and that is clearly valid for every y between -1 and +infinity.