document.write( "Question 1127777: At the football game, 3 hamburgers and 6 soft drinks cost $21, and 3 hamburgers and 3 soft drinks cost $15. Which two equations can be used to determine the price of a hamburger and the price of a soft drink?\r
\n" ); document.write( "\n" ); document.write( "Let x represent the cost of a hamburger and y represent the cost of a soft drink.
\n" ); document.write( "

Algebra.Com's Answer #744243 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "(1)   3x + 6y = 21  \r\n" );
document.write( "(2)   3x + 3y = 15\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "This system can be quickly solved for y by, say, subtracting eq(2) from eq(1):
\n" ); document.write( "

\n" ); document.write( " 3y = 6
\n" ); document.write( " y = 2 —> 3x = 21-12 = 9 —> x = 3
\r
\n" ); document.write( "\n" ); document.write( "Cost of items:
\n" ); document.write( "Hamburg: $3
\n" ); document.write( "Soft drink: $2
\n" ); document.write( "——
\r
\n" ); document.write( "\n" ); document.write( "Check:\r
\n" ); document.write( "\n" ); document.write( "3*3 + 6*2 = 9+12 = 21 ✔
\n" ); document.write( "3*3 + 3*2 = 9+6 = 15 ✔ \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "
\n" );