document.write( "Question 352215: The sum of two numbers is 31. The product of the two numbers is 150. What are the numbers?\r
\n" ); document.write( "\n" ); document.write( "Thank You
\n" ); document.write( "Robbie (4th grade)
\n" ); document.write( "

Algebra.Com's Answer #251699 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
First name your variables.
\n" ); document.write( "How about \"A\" and \"B\"?
\n" ); document.write( "Now turn the words into equations.
\n" ); document.write( "\"sum of two numbers is 31\"
\n" ); document.write( "1.\"A%2BB=31\"
\n" ); document.write( "\"product of the two numbers is 150\"
\n" ); document.write( "2.\"A%2AB=150\"
\n" ); document.write( "From eq. 1,
\n" ); document.write( "\"A%2BB=31\"
\n" ); document.write( "\"A=31-B\"
\n" ); document.write( "Substitute into eq. 2,
\n" ); document.write( "\"A%2AB=150\"
\n" ); document.write( "\"%2831-B%29%2AB=150\"
\n" ); document.write( "\"31B-B%5E2=150\"
\n" ); document.write( "\"B%5E2-31B%2B150=0\"
\n" ); document.write( "You can factor this equation,
\n" ); document.write( "\"%28B-25%29%28B-6%29=0\"
\n" ); document.write( "Two solutions:
\n" ); document.write( "\"B-25=0\"
\n" ); document.write( "\"highlight%28B=25%29\"
\n" ); document.write( "Then from eq. 1,
\n" ); document.write( "\"A%2B25=31\"
\n" ); document.write( "\"highlight%28A=6%29\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"B-6=0\"
\n" ); document.write( "\"highlight_green%28B=6%29\"
\n" ); document.write( "Then from eq. 1,
\n" ); document.write( "\"A%2B6=31\"
\n" ); document.write( "\"highlight_green%28A=25%29\"
\n" ); document.write( "Your two numbers are 6 and 25.
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "You're studying quadratic equations in the 4th grade??
\n" ); document.write( "
\n" ); document.write( "
\n" );