Set up the composite result function.

Evaluate by substituting in the value of into .

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 .

Multiply by .

Multiply by .

Add and .

Add and .

Subtract from .

Subtract from .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Subtract from .

Subtract from .

Simplify by adding numbers.

Add and .

Add and .

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