document.write( "Question 274913: If g(x)=x^2+4x+2 find g(2) and g(x+2)
\n" ); document.write( "so far I have
\n" ); document.write( "g(2)= 2^2+4(2)+2
\n" ); document.write( "g(2)= 4+8+2
\n" ); document.write( "g(2)= 14\r
\n" ); document.write( "\n" ); document.write( "g(x+2)= (x+2)^2 + 4(x+2)+2
\n" ); document.write( " = x^2 + 4 + 4x + 8 + 2
\n" ); document.write( " = x^2 + 4x + 14\r
\n" ); document.write( "\n" ); document.write( "I'm not sure if I should replace x with 2 or 14?
\n" ); document.write( "

Algebra.Com's Answer #200566 by JBarnum(2146)\"\" \"About 
You can put this solution on YOUR website!
close but not exact
\n" ); document.write( "the g(2) is correct
\n" ); document.write( "1 mistake with the g(x+2)
\n" ); document.write( "\"g%28x%2B2%29=%28x%2B2%29%5E2%2B4%28x%2B2%29%2B2\"
\n" ); document.write( "expand (x+2)^2
\n" ); document.write( "\"g%28x%2B2%29=%28x%2B2%29%28x%2B2%29%2B4%28x%2B2%29%2B2\"
\n" ); document.write( "\"g%28x%2B2%29=%28x%5E2%2B4x%2B4%29%2B4%28x%2B2%29%2B2\"
\n" ); document.write( "\"g%28x%2B2%29=%28x%5E2%2B4x%2B4%29%2B%284x%2B8%29%2B2\" add like terms
\n" ); document.write( "\"g%28x%2B2%29=x%5E2%2B8x%2B14\"
\n" ); document.write( "
\n" );