Set up the composite result function.

Evaluate by substituting in the value of into .

Use the Multinomial Theorem.

Simplify each term.

Apply the product rule to .

Raise to the power of .

Multiply the exponents in .

Apply the power rule and multiply exponents, .

Multiply by .

Apply the product rule to .

Raise to the power of .

Multiply the exponents in .

Apply the power rule and multiply exponents, .

Multiply by .

Multiply by by adding the exponents.

Move .

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Multiply by .

Multiply by by adding the exponents.

Move .

Use the power rule to combine exponents.

Add and .

Multiply by .

Apply the product rule to .

Raise to the power of .

Multiply the exponents in .

Apply the power rule and multiply exponents, .

Multiply by .

Multiply by .

Multiply by .

Multiply by by adding the exponents.

Move .

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Raise to the power of .

Multiply by .

Raise to the power of .

Multiply by .

Raise to the power of .

Subtract from .

Subtract from .

Add and .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Rewrite as .

Expand by multiplying each term in the first expression by each term in the second expression.

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 by adding the exponents.

Move .

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Multiply by .

Rewrite using the commutative property of multiplication.

Multiply by by adding the exponents.

Move .

Multiply by .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Multiply by .

Move to the left of .

Rewrite as .

Multiply by .

Rewrite as .

Multiply by .

Add and .

Add and .

Subtract from .

Subtract from .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Multiply by .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Subtract from .

Subtract from .

Add and .

Add and .

Add and .

Add and .

Simplify by subtracting numbers.

Subtract from .

Subtract from .

Subtract from .

Find f(g(x)) f(x)=3x^3-2x^2+7x-5 g(x)=5x^2+x-1