document.write( "Question 433086: Two groups of people order food at a restaurant. One group orders 4 hamburgers and 7 sandwiches for $34.50. The other group orders 8 hamburgers and 3 sandwiches for $30.50. Find the cost of each item.\r
\n" ); document.write( "\n" ); document.write( "Thank you :)
\n" ); document.write( "

Algebra.Com's Answer #300204 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"a\" = cost of sandwich
\n" ); document.write( "Let \"b\" = cost of hamburger
\n" ); document.write( "given:
\n" ); document.write( "(1) \"+7a+%2B+4b+=+34.5+\"
\n" ); document.write( "(2) \"+3a+%2B+8b+=+30.5+\"
\n" ); document.write( "-----------------
\n" ); document.write( "Multiply both sides of (1) by \"2\"
\n" ); document.write( "and subtract (2) from (1)
\n" ); document.write( "(1) \"+14a+%2B+8b+=+69+\"
\n" ); document.write( "(2) \"+-3a+-+8b+=+-+30.5+\"
\n" ); document.write( "\"+11a+=+38.5+\"
\n" ); document.write( "\"+a+=+3.5+\"
\n" ); document.write( "Plug this back into (1) or (2)
\n" ); document.write( "(2) \"+3%2A3.5+%2B+8b+=+30.5+\"
\n" ); document.write( "\"+10.5+%2B+8b+=+30.5+\"
\n" ); document.write( "\"+8b+=+20+\"
\n" ); document.write( "\"+b+=+2.5+\"
\n" ); document.write( "The cost of a sandwich is $3.50
\n" ); document.write( "The cost of a hamburger is $2.50\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );