The functions are and
.
Find .
Substitute and
.
(Sum of squares:
)
(Distributive property:
)
(Combine like terms)
Therefore the value of is
.
Option G is right choice.