Step-by-step explanation:
g(f(x)) = f(x) substituted in g(x)'s function.
g(3x^2 - x - 8) = 3x^2 - x - 8 + 5 = 3x^2 - x - 3.