document.write( "Question 953276: I have only figured out the first equation of this problem I am having trouble setting up the second equation, could someone help me? I'm preparing for a test and I'm having trouble: \r
\n" ); document.write( "\n" ); document.write( "Five hot dogs and three hamburgers cost a total of $6.20. Two hot dogs cost .50 cents more than a hamburger. How much does each hot dog and each hamburger cost?\r
\n" ); document.write( "\n" ); document.write( "First equation I found: 5x+3y=6.20\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #582153 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
Let's call the hot dogs d and the hamburgers h. And you say that:
\n" ); document.write( "5d + 3h = 6.2 And:
\n" ); document.write( "h = 2d + .50; h = 2d + .50
\n" ); document.write( "Substitute in the first equation:
\n" ); document.write( "5d + 3(2d + .5) = 6.2
\n" ); document.write( "5d + 6d + 1.5 = 6.2 subtract 1.5 from both sides and add the d's on left
\n" ); document.write( "11d = 4.7
\n" ); document.write( "d = 4.7/11 = 0.43 per hot dog. And the hamburgers:
\n" ); document.write( "h= 2(0.43)+ .50 = 1.36
\n" ); document.write( "Proof:
\n" ); document.write( "5(.43)+ 3(1.36) = 2.15 + 4.08 = 6.23 We've got the correct answer. I got 6.23 instead of 6.20 I think because of rounding of decimals.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );