document.write( "Question 287035: two hamburgers and one bagel cost $4.82.
\n" ); document.write( "At the same price, one hamburger and
\n" ); document.write( "two bagels cost $3.70. How much does
\n" ); document.write( "each hamburger and each bagel cost?
\n" ); document.write( "

Algebra.Com's Answer #208126 by brucewill(101)\"\" \"About 
You can put this solution on YOUR website!
Let x = number of hamburgers
\n" ); document.write( "Let y = number of bagels\r
\n" ); document.write( "\n" ); document.write( "2x + y = 482
\n" ); document.write( "x + 2y = 370
\n" ); document.write( "--- multiply second equation by 2
\n" ); document.write( "2x + y = 482
\n" ); document.write( "2x + 4y = 740
\n" ); document.write( "--- subtract second equation from first
\n" ); document.write( "-3y = -258
\n" ); document.write( "---
\n" ); document.write( "y = 86; substitute into first equation:
\n" ); document.write( "---
\n" ); document.write( "2x + 86 = 482
\n" ); document.write( "2x = 396
\n" ); document.write( "x = 198
\n" ); document.write( "---
\n" ); document.write( "Proof: 2*(198) + 86 = 396 + 86 = 482
\n" ); document.write( "198 + 2(86) = 198 + 172 = 370
\n" ); document.write( "
\n" ); document.write( "
\n" );