You can put this solution on YOUR website! The domain of g(x) is limited by the denominator. Division by 0 is undefined, so x=6 results in an undefined value.
.
Therefore the domain is all x from -infinity to +infinity, except for x = 6.
The range is -infinity to +infinity.
.
Done.