document.write( "Question 247106: The sum of three numbers is 100. The second number is 2 more than three times the first number, and the third number is the sum of the first two numbers. What are the numbers? \n" ); document.write( "
Algebra.Com's Answer #180420 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
The sum of three numbers is 100.
\n" ); document.write( "x + y + z = 100
\n" ); document.write( ":
\n" ); document.write( " The second number is 2 more than three times the first number,
\n" ); document.write( "y = (3x + 2)
\n" ); document.write( ":
\n" ); document.write( "the third number is the sum of the first two numbers.
\n" ); document.write( "z = (x + y)
\n" ); document.write( ":
\n" ); document.write( "What are the numbers?
\n" ); document.write( ":
\n" ); document.write( "From the 2nd equation, replace y with (3x+2) in the 3rd equation
\n" ); document.write( "z = x + (3x+2)
\n" ); document.write( "z = (4x + 2)
\n" ); document.write( ":
\n" ); document.write( "Replace y and z in the 1st equation
\n" ); document.write( "x + (3x+2) + (4x+2) = 100
\n" ); document.write( "8x + 4 = 100
\n" ); document.write( "8x = 100 - 4
\n" ); document.write( "8x = 96
\n" ); document.write( "x = 12
\n" ); document.write( "then
\n" ); document.write( "z = 4x + 2
\n" ); document.write( "z = 4(12) + 2
\n" ); document.write( "z = 50
\n" ); document.write( "and
\n" ); document.write( "y = 3x + 2
\n" ); document.write( "y = 3(12) + 2
\n" ); document.write( "y = 38
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Is this true?
\n" ); document.write( "12 + 38 + 50 = 100
\n" ); document.write( "
\n" );