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 #582137 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
x=hot dog; y=hamburger
\n" ); document.write( "2x=y+$0.50
\n" ); document.write( "2x-$0.50=y
\n" ); document.write( "The equation above is what you were missing: you should try to finish on your own and use solution below to check.
\n" ); document.write( "5x+3y=$6.20 Substitute for y
\n" ); document.write( "5x+3(2x-$0.50)=$6.20
\n" ); document.write( "5x+6x-$1.50=$6.20 Add $1.50 to each side.
\n" ); document.write( "11x=$7.70 Divide each side by 11
\n" ); document.write( "x=$0.70 ANSWER 1: Hot dogs cost $0.70.
\n" ); document.write( "y=2x-$0.50=2($0.70)-$0.50=$1.40-$0.50=$0.90 ANSWER 2: Hamburgers cost $0.90.
\n" ); document.write( "CHECK:
\n" ); document.write( "5x+3y=$6.20
\n" ); document.write( "5($0.70)+3($0.90)=$6.20
\n" ); document.write( "$3.50+$2.70=$6.20
\n" ); document.write( "$6.20=$6.20
\n" ); document.write( "
\n" );