document.write( "Question 396086: If Thomas buys 6 hamburgers and 2 chilidogs, he pays $33.32. If he buys 3 hamburgers and 10 chili dogs, he pays $39.97. How much does a hamburger cost? How much does a chili dog cost? \n" ); document.write( "
Algebra.Com's Answer #281051 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"a\" = cost of a hamburger
\n" ); document.write( "Let \"b\" = cost of a chilidog
\n" ); document.write( "given:
\n" ); document.write( "(1) \"6a+%2B+2b+=+3332\" (in cents)
\n" ); document.write( "(2) \"3a+%2B+10b+=+3997\" (in cents)
\n" ); document.write( "---------------------
\n" ); document.write( "Divide both sides of (1) by \"2\", and
\n" ); document.write( "subtract (1) from (2)
\n" ); document.write( "(2) \"3a+%2B+10b+=+3997\"
\n" ); document.write( "(1) \"-3a+-+b+=+-1666\"
\n" ); document.write( "\"9b+=+2331\"
\n" ); document.write( "\"b+=+259\"
\n" ); document.write( "and, from (1),
\n" ); document.write( "(1) \"3a+%2B+b+=+1666\"
\n" ); document.write( "\"3a+%2B+259+=+1666\"
\n" ); document.write( "\"3a+=+1407\"
\n" ); document.write( "\"a+=+469\"
\n" ); document.write( "A hamburger costs $4.69
\n" ); document.write( "A chilidog costs $2.59
\n" ); document.write( "
\n" );