document.write( "Question 617979: The volume of a cube is 176 less than the volume of a rectangular prism. The height is the same. The length of the prism is 6 more than the cube and the width of the prism is 2 more than the cube. Find the length of the cube.\r
\n" ); document.write( "\n" ); document.write( "This was on my algebra final today and it stumped me... I literally got every single other question wrong but I just couldn't figure this one out.
\n" ); document.write( "

Algebra.Com's Answer #388663 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
Height of both cube and rectangular prism is same\r
\n" ); document.write( "\n" ); document.write( "Let length of cube be x
\n" ); document.write( "Length of prism = x+6\r
\n" ); document.write( "\n" ); document.write( "width of prism = x+2\r
\n" ); document.write( "\n" ); document.write( "The volume of prism - volume of cube = 176
\n" ); document.write( "x= h for the prism\r
\n" ); document.write( "\n" ); document.write( "(x+6)(x+2)*x -x^3= 176
\n" ); document.write( "x(x^2+8x+12)-x^3=176\r
\n" ); document.write( "\n" ); document.write( "x^3+8x^2+12x-x^3= 176\r
\n" ); document.write( "\n" ); document.write( "8x^2+12x-176=0
\n" ); document.write( "/4
\n" ); document.write( "2x^2+3x-44 =0\r
\n" ); document.write( "\n" ); document.write( "2x^2+11x-8x-44=0
\n" ); document.write( "x(2x+11)-4(2x+11)=0
\n" ); document.write( "(2x+11)(x-4)=0
\n" ); document.write( "x= 4 OR -11/2\r
\n" ); document.write( "\n" ); document.write( "Ignore negative value\r
\n" ); document.write( "\n" ); document.write( "x=4 side of cube = 4 units\r
\n" ); document.write( "\n" ); document.write( "Check
\n" ); document.write( "10*6*4=240
\n" ); document.write( "4*4*4=64\r
\n" ); document.write( "\n" ); document.write( "240-64= 176 \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );