document.write( "Question 1116531: Find (f ∘ g)(x) and (g ∘ f)(x).
\n" ); document.write( " Also specify the domain for each.
\n" ); document.write( "f(x) = 6x2 − 2x − 1, g(x) = x + 3
\n" ); document.write( "

Algebra.Com's Answer #731588 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            Calculation of (fog)(x) in the post by @josgarithmetic was   W R O N G. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            Below please find the correct calculation.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "(fog)(x) = 6*(x+3)^2 - 2*(x+3) - 1 = 6x^2 + 36x + 54 - 2x - 6 - 1 = 6x^2 + 34x + 47.\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );