F(x)= x^2+2, g(x)= x+1, and h(x) =2x what is f(g(x)) when x= -1

Answer :

f(g(-1)) = (-1 + 1)^2 + 2
= 0^2 + 2
= 2