Answer:
A composite function means that you are evaluating one function into another function.
So, fog(x) can be written as:
f(g(x))
and gof(x) = g(f(x))
this means that instead of the variable "x", we are evaluating the functions with other function.
Let's solve this:
f(x) = x^2 - 3
g(x) = x + 1
then:
> gof(x) =g(f(x)) = f(x) + 1 = (x^2 - 3) + 1 = x^2 - 2
> fog(x) =f(g(x)) = g(x)^2 - 3 = (x + 1)^2 - 3 = x^2 + 2x + 1 - 3 = x^2 + 2x - 2