document.write( "Question 837343: The sum of three numbers is forty-two. The second number is twice the first number and the third number is three less than the second number. Find the three numbers \n" ); document.write( "
Algebra.Com's Answer #504565 by josgarithmetic(39620)\"\" \"About 
You can put this solution on YOUR website!
x, y, and z are the numbers.\r
\n" ); document.write( "\n" ); document.write( "\"x%2By%2Bz=42\"\r
\n" ); document.write( "\n" ); document.write( "\"y=2x\", and \"z=y-3\"
\n" ); document.write( "-\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Any route you see or find, try.
\n" ); document.write( "One I see is \"z=42-x-y\" from first equation.
\n" ); document.write( "\"z=y-3=42-x-y\", to equate expressions for z.
\n" ); document.write( "\"2y%2Bx=42%2B3\"
\n" ); document.write( "\"x%2B2y=45\"----- which only uses x and y.
\n" ); document.write( "-
\n" ); document.write( "One of the equations from the description also uses only x and y, so we have this simple system of two variables:
\n" ); document.write( "-------------------
\n" ); document.write( "y=2x
\n" ); document.write( "-------------------
\n" ); document.write( "x+2y=45
\n" ); document.write( "-------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A simple substitution will be best next step.
\n" ); document.write( "\"x%2B2%2A2x=45\"
\n" ); document.write( "\"5x=45\"
\n" ); document.write( "\"highlight%28x=9%29\"-------You have one variable's value solved.
\n" ); document.write( "-
\n" ); document.write( "Also created y=2x from the description, so
\n" ); document.write( "\"y=2%2A9=highlight%2818=y%29\" ----- another variable found.
\n" ); document.write( "-
\n" ); document.write( "Given from description
\n" ); document.write( "\"z=y-3\"
\n" ); document.write( "\"z=18-3\"
\n" ); document.write( "\"highlight%28z=15%29\"------the last variable found.
\n" ); document.write( "
\n" );