document.write( "Question 311172: A group of students go out for lunch. If two have hamburgers and five have hot dogs, the bill will be $8.00. If five have hamburgers and two have hot dogs, the bill will be $9.50. What is the price of a hamburger? \n" ); document.write( "
Algebra.Com's Answer #222541 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
A group of students go out for lunch. If two have hamburgers and five have hot dogs, the bill will be $8.00. If five have hamburgers and two have hot dogs, the bill will be $9.50. What is the price of a hamburger?\r
\n" ); document.write( "\n" ); document.write( "Let hamburgers cost $x each
\n" ); document.write( "Let hot dogs cost $y each
\n" ); document.write( "2x+5y==8.00
\n" ); document.write( "5x+2y=9.50
\n" ); document.write( ".
\n" ); document.write( "5(2x+5y)-2(5x+2y)= 5*8 - 2*9.50
\n" ); document.write( "10x+25y-10x -4y = 40-19
\n" ); document.write( "21y=21
\n" ); document.write( "y=1
\n" ); document.write( ".
\n" ); document.write( "plug value of y in any equation\r
\n" ); document.write( "\n" ); document.write( "2x+5*1 =8
\n" ); document.write( "2x=3
\n" ); document.write( "x=1.5
\n" ); document.write( "Hamburger cost is $ 1.5\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );