Part 1) Recall that to evaluate a function at a given value, we substitute the variable with the given value.
Then:

Now, evaluating g(x) at x=2 we get:

Simplifying the above result we get:

Substituting the above result in the first equation we get:

Simplifying the above result we get:

Answer Part 1:

Part 2) Analogously to part1 we get that:

Evaluating f(x) at x=2 we get:

Simplifying the above result we get:

Then:

Simplifying the above result we get:

Answer Part2:
