The functions are
and
.
Find
.
(Original function)
(Substitute
)
(Substitute
)
(Simplify)
(Substitute
)
(Sum of squares:
)
(Simplify)
(Substitute
)
(Evaluate powers and multiply)
(Simplify)
Therefore the value of
is
.
.