Browse · MATH Print → jmc algebra intermediate Problem Define f(x)=xx2+2x+3 and g(x)=x3+2. Evaluate g(f(x)) when x=−3. Solution — click to reveal We can first evaluate f(−3). f(−3)=−3(−3)2+2(−3)+3=−39−6+3=−2 Now we substitute f(−3)=−2 into g(f(x)). g(−2)=(−2)3+2=−8+2=−6 Final answer -6 ← Previous problem Next problem →