The functions are
and
.
To find
, we need to find the domain of
.
The domain of
is all real numbers.
Now one can able to evaluate
for each value of
.
Therefore, the domain of
is all real numbers.
Find
.

Replace
with
.

Substitute
for
in
.


Therefore,
.
To find
, we need to find the domain of
.
The domain of
is
.
Now one can able to evaluate
for each value of
.
Therefore, the domain of
is
.
Find
.

Replace
with
.

Substitute
for
in
.



Notice that
is only defined for
.
Combine this restriction with the restriction
.
The true domain of
is
.
Therefore,
for
.
.
for
.