document.write( "Question 584922: X=bean
\n" ); document.write( "y=rice
\n" ); document.write( "1y+8x=1000
\n" ); document.write( "1.26x+5y=8
\n" ); document.write( "how much of each of y and x do I need
\n" ); document.write( "

Algebra.Com's Answer #373063 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
1y + 8x = 1000
\n" ); document.write( "1.26x + 5y = 8
\n" ); document.write( ":
\n" ); document.write( "Arrange the 1st equation for substitution
\n" ); document.write( "y + 8x = 1000
\n" ); document.write( "subtract 8x from both sides
\n" ); document.write( "y = (1000-8x)
\n" ); document.write( "In the 2nd equation, replace y with (1000-x)
\n" ); document.write( "1.26x + 5(1000-x) = 8
\n" ); document.write( "1.26x + 5000 - 5x = 8
\n" ); document.write( "1.26x - 5x = 8 - 5000
\n" ); document.write( "-3.74x = -4992
\n" ); document.write( "3.74x = 4992; mult both sides by -1
\n" ); document.write( "x = \"4992%2F3.74\"
\n" ); document.write( "x ~ 1334.76
\n" ); document.write( "Find y using the 1st equation
\n" ); document.write( "y = 1000 -1334.76
\n" ); document.write( "y = -334.76
\n" ); document.write( ";
\n" ); document.write( "Check solutions in the 2nd equation
\n" ); document.write( "1.26(1334.76) + 5(-334.76) =
\n" ); document.write( "1681.8 - 1673.8 = 8; confirms our solutions of x - 1334.76, y = -334.76
\n" ); document.write( ":
\n" ); document.write( "I'll let you figure out how to get a negative 334.76 quantity of rice, but we know we need 1334.76 quantity of beans
\n" ); document.write( "
\n" );