The functions are
.
First to find
.
Substitute the value of
in
.
.
Substitute the value of
in
.

Apply formula:
.


Therefore the value of
.
Next to find
.
Substitute the value of
in
.
.
Substitute the value of
in
.
.
Therefore the value of
.
The values are
and
.