,

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 .

Rewrite using the commutative property of multiplication.

Multiply by .

Rewrite using the commutative property of multiplication.

Multiply by .

Multiply by .

Multiply by .

Subtract from .

Move .

Subtract from .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Multiply by .

Apply the distributive property.

Multiply by .

Multiply by .

Find f(g(x)) f(x)=3x^2-x+2 , g(x)=5x^2-1.7n