document.write( "Question 562074: Hi, my name is michelle. im working on a midterm review that i have tomorrow at 12. im stuck on a problem. the question states, If \"+++f%28x%29=x%5E2+-+3x+%2B2+\" and g(x)= x+1, evaluate (f of g)(x) and g (f (x) ) . What type of function is f(x) g(x)? Please help im very confused. so far i have \r
\n" ); document.write( "\n" ); document.write( "g(f(x)) \"++x%2B1%28x%5E2-3x%2B2%28x%29%29+++\"
\n" ); document.write( " \"++%28x%5E3-3x%5E2%2B2x%29%28x%2B1%29++\"
\n" ); document.write( " \"++x%28x%5E2-3x%2B2%29%28x%2B1%29++\"\r
\n" ); document.write( "\n" ); document.write( "am i doing this right?\r
\n" ); document.write( "\n" ); document.write( "thank you ahead of time for any time you take out of your day to help. i really appreciate it.
\n" ); document.write( "

Algebra.Com's Answer #365370 by ad_alta(240)\"\" \"About 
You can put this solution on YOUR website!
First: g(f(x))=x^2-3x+2+1=x^2-3x+3\r
\n" ); document.write( "\n" ); document.write( "Second: f(g(x))=(x+1)^2-3(x+1)+2=x^2-x\r
\n" ); document.write( "\n" ); document.write( "f(x)g(x)= x^3-2x^2-x+2. What type of function is it? I'm not sure exactly what they mean by that, but it is a polynomial for sure.
\n" ); document.write( "
\n" );