document.write( "Question 152517: g(2+h)=x to the third
\n" ); document.write( "the instructor gave us x=(2+h)
\n" ); document.write( "and the answer 8+12h+6h suared+h to the third
\n" ); document.write( "i haven't been able to get that as my answer.
\n" ); document.write( "here's what I have done:
\n" ); document.write( "g(2+h)=x to the third
\n" ); document.write( "g=(2+h)to the third
\n" ); document.write( "g=(2+h)(2+h)(2+h)
\n" ); document.write( "g=4+2h+2h+hsquared(2+h)
\n" ); document.write( "g=8+4h+4h+2h+2h+2hsquared+h to the third
\n" ); document.write( "g=8+12h+2hsquared+h to the third
\n" ); document.write( "

Algebra.Com's Answer #112107 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
I think I understand what you mean.
\n" ); document.write( "\"g%28x%29=x%5E3\"
\n" ); document.write( "Let x=2+h,
\n" ); document.write( "\"g%282%2Bh%29=%282%2Bh%29%5E3\"
\n" ); document.write( "\"g%282%2Bh%29=%282%2Bh%29%2A%282%2Bh%29%2A%282%2Bh%29\"
\n" ); document.write( "Let's break it down a little and work on \"%282%2Bh%29%2A%282%2Bh%29\" first.
\n" ); document.write( "Use the FOIL (First, Outer, Inner, Last) method,
\n" ); document.write( "First : \"%28highlight%282%29%2Bh%29%28highlight%282%29%2Bh%29=%282%29%282%29=4\"
\n" ); document.write( "Outer : \"%28highlight%282%29%2Bh%29%282%2Bhighlight%28h%29%29=%282%29%28h%29=2h\"
\n" ); document.write( "Inner : \"%282%2Bhighlight%28h%29%29%28highlight%282%29%2Bh%29=%28h%29%282%29=2h\"
\n" ); document.write( "Outer : \"%282%2Bhighlight%28h%29%29%282%2Bhighlight%28h%29%29=%28h%29%28h%29=h%5E2\"
\n" ); document.write( "Add them all together,
\n" ); document.write( "\"%282%2Bh%29%2A%282%2Bh%29=4%2B2h%2B2h%2Bh%5E2\"
\n" ); document.write( "\"%282%2Bh%29%2A%282%2Bh%29=4%2B4h%2Bh%5E2\"
\n" ); document.write( "Now substitute that back in,
\n" ); document.write( "\"g%282%2Bh%29=%282%2Bh%29%2A%282%2Bh%29%2A%282%2Bh%29\"
\n" ); document.write( "\"g%282%2Bh%29=%284%2B4h%2Bh%5E2%29%2A%282%2Bh%29\"
\n" ); document.write( "Distribute the \"%282%2Bh%29\" term,
\n" ); document.write( "\"g%282%2Bh%29=4%282%2Bh%29%2B4h%282%2Bh%29%2Bh%5E2%282%2Bh%29\"
\n" ); document.write( "\"g%282%2Bh%29=%288%2B4h%29%2B%288h%2B4h%5E2%29%2B%282h%5E2%2Bh%5E3%29\"
\n" ); document.write( "\"g%282%2Bh%29=8%2B12h%2B6h%5E2%2Bh%5E3\"
\n" ); document.write( "
\n" );