Answer:
9
Step-by-step explanation:
First lets find g(2) because thats inside the f equation.
g(x) = 2x-x^3
g(2) = 2(2) - (2)^3
g(2) = 4 - 8
g(2) = - 4
So now we are finding
f(g(2)) => f(-4)
f(x) = x^2 - 7
f(-4) = (-4)^2 - 7
Remember, because the square is outside the parentheses due to us plugging in a value, it becomes positive
f(-4) = 16 - 7
f(-4) = 9