document.write( "Question 375745: John is 3 years older than Sam. The product of their ages is 54. Find their ages \n" ); document.write( "
Algebra.Com's Answer #267197 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
Sam = x
\n" ); document.write( "John = x+3
\n" ); document.write( "...
\n" ); document.write( "x(x+3)=54
\n" ); document.write( "x^2+3x=54
\n" ); document.write( "x^2+3x-54=0
\n" ); document.write( "x^2+9x-6x-54=0
\n" ); document.write( "x(x+9)-6(x+9)=0
\n" ); document.write( "(x-6)(x+9)=0
\n" ); document.write( "x= 6 OR x =-9
\n" ); document.write( "(6 & 9) OR (-9, -6)
\n" ); document.write( ",,
\n" ); document.write( "m.ananth@hotmail.ca
\n" ); document.write( "
\n" );