Set up the composite result function.

Evaluate by substituting in the value of into .

Rewrite as .

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify and combine like terms.

Simplify each term.

Rewrite using the commutative property of multiplication.

Multiply by by adding the exponents.

Use the power rule to combine exponents.

Add and .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Subtract from .

Apply the distributive property.

Multiply by .

Multiply by .

Combine the opposite terms in .

Subtract from .

Add and .

Subtract from .

Find f(g(x)) f(x)=x^2+2x-8 g(x)=-x^2+4