document.write( "Question 1013927: at a fast food restaurant, a family bought 4 hamburgers and 3 bags of french fries for 4.20. at the same time, a family traveling with them bought 5 hamburgers and 2 bags of french fries for 4.55. what was the cost of one hamburger and one bag of french fries? what was the cost if you ordered 5 hamburgers and 4 french fries?'
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #630257 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
at a fast food restaurant, a family bought 4 hamburgers and 3 bags of french fries for 4.20. at the same time, a family traveling with them bought 5 hamburgers and 2 bags of french fries for 4.55. what was the cost of one hamburger and one bag of french fries? what was the cost if you ordered 5 hamburgers and 4 french fries?'
\n" ); document.write( "let h=cost of one hamburger
\n" ); document.write( "let f=cost of one bagof french fries\r
\n" ); document.write( "\n" ); document.write( "4h+3f=4.20
\n" ); document.write( "5h+2f=4.55
\n" ); document.write( "8h+6f=8.40 (mult.1st eq by 2)
\n" ); document.write( "15h+6f=13.65 (mult.2nd eq by 3)
\n" ); document.write( "subtract
\n" ); document.write( "7h=5.25
\n" ); document.write( "h=.75
\n" ); document.write( "3f=4.20-4h=4.20-3.00=1.20
\n" ); document.write( "f=.40
\n" ); document.write( "cost of one hamburger=75ç
\n" ); document.write( "cost of one bag of french fries=40ç\r
\n" ); document.write( "\n" ); document.write( "5 hamburgers and 4 bags of french fries cost 5*.75+4*.40= $5.35
\n" ); document.write( "
\n" );