The functions are
and
.
To find
, we need to find the domain of
.
The domain of
is all real numbers except at
.
Now one can able to evaluate
for each value of
.
Which is only true when
.
This means that we must exclude from the domain those values for which
.
Solve the equation
.



.
Therefore, the domain of
is
.
Find
.

Replace
with
.

Substitute
for
in
.


.
Notice that
is only defined for
, which is the same restriction determined the by considering the domains of
and
.
Therefore,
for
and
.
To find
, we need to find the domain of
.
The domain of
is all real numbers except at
.
Now one can able to evaluate
for each value of
.
Which can only be done for all
.
This means that we must exclude from the domain those values for which
.
Solve the equation
.





Combining this restrictions.
\Therefore, the domain of
is
.
Find 
Replace
with
.

Substitute
for
in
.



.
Notice that
is only defined for
. which is the same restriction determined the by considering the domains of
and
.
Therefore,
for
and
.
for
and
.
for
and
.