document.write( "Question 535558: If f(x) = 2x + 4, and g(x) = (x^2 + x +5), find g (f(x)).\r
\n" ); document.write( "\n" ); document.write( "I have solved to
\n" ); document.write( "g(f(x)) = ((2x + 4)^2 + (2x + 4) + 5)
\n" ); document.write( "4x^2 + 8x + 8x + 16 + 2x + 4 + 5
\n" ); document.write( "4x^2 + 18x + 25\r
\n" ); document.write( "\n" ); document.write( "Then I am stuck. I am wondering if I did some arithmetic error that I am not seeing or if I just cannot find the right factor.
\n" ); document.write( "

Algebra.Com's Answer #351930 by fcabanski(1391)\"\" \"About 
You can put this solution on YOUR website!
Check my profile and contact me for one on one online tutoring.

\r
\n" ); document.write( "\n" ); document.write( "That's the answer unless you're trying to find the roots.

\r
\n" ); document.write( "\n" ); document.write( "4x^2 + 18x +25 = 0 Cannot factor, so use the quadratic formula to find the solutions.

\r
\n" ); document.write( "\n" ); document.write( "a = 4, b=18, c = 25 (-b + or - sqrt (b^2-4ac))/2a =

\r
\n" ); document.write( "\n" ); document.write( "(-18 + or - sqrt (324-4*4*25))/8 = (-18 + or - sqrt (-76))/8=

\r
\n" ); document.write( "\n" ); document.write( "(-18 + or - sqrt(-1)*sqrt(4)*sqrt(19))/4 =

\r
\n" ); document.write( "\n" ); document.write( "(-18 + or - 2isqrt(19))/4 =

\r
\n" ); document.write( "\n" ); document.write( "(-9/4) + (1/2)i*sqrt(19) or (-9/4) - (1/2)i*sqrt(19) \n" ); document.write( "

\n" );