For g(x) there are no restrictions on the domain so the domain would be . You do the range.

For f(x) I presume you mean

PLEASE use parenthesis!!

Here the domain is all reals except for x = 3, so that would be . Again I will leave the range to you. (Hint: What value can f(x) not take?)

-Dan