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 when
. This means that we must exclude from the domain in those values for which
.

Square on both sides.
\

.
Therefore,
. Combining these restrictions, he domain of
is
.
Find
.

Replace
with
.

Substitute
for
in
.

Multiply numerator and denominator by
.



Therefore,
for
.
for
.