For the functions below, solve for f(g(h(-1))).

f(x)=(x-1)^2
g(x)=2x^2+3x-1
h(x)=(x+3)

3 answers

h(-1) = 2
g(2) = 13
f(13) = 144

or

f(g(h)) = (g(h)-1)^2
= ((2h^2+3h-1)-1)^2
= (2h^2+3h-2)^2
= (2(x+3)^2+3(x+3)-2)^2
= 4x^4+60x^3+325x^2+750x+625
= 4-60+325-750+625
= 144

I think the first way is easier!
I don't get how you got that answer.

how did f(x)=(x-1)^2 become f(13) = 144

and the second way I don't get where that answer came from? can you please explain.
f(x) = (x-1)^2
so
f(13) = (13-1)^2 = 12^2 = 144