The functions are
and
.
To find
, you must first be able to find
, which can be done for
. Then you must able to evaluate
for each of these
values, which can only be done for all real numbers.
Therefore, the domain of
is
.
Find
.

Replace
with
.

Substitute
for
in
.



Therefore,
for
.
for
.