document.write( "Question 283728: Im having trouble solving this problem and ones like it. What is the answer and how is it found?
\n" ); document.write( "If you buy 3 hotdogs and 3 sodas on your first trip to the concession stand and spend $22.50. You then go back a second time and spend $24 and buy 5 sodas and 2 hotdogs. How much does each hotdog cost and how much does each soda cost?
\n" ); document.write( "

Algebra.Com's Answer #205912 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
3s+3h=2250
\n" ); document.write( "5s+2h=2400
\n" ); document.write( "so we have two equations with two unknowns.
\n" ); document.write( "we can solve by substitution or elimination(aka addition)
\n" ); document.write( "lets try elimination
\n" ); document.write( "multiply the first equation by -2 and the second by 3
\n" ); document.write( "-6s-6h=-4500
\n" ); document.write( "15s+6h=7200
\n" ); document.write( "add them
\n" ); document.write( "9s=2700
\n" ); document.write( "s=300
\n" ); document.write( "plug 300 for s in any equation and solve for h
\n" ); document.write( "3s+3h=2250
\n" ); document.write( "3*300+3h=2250
\n" ); document.write( "900+3h=2250
\n" ); document.write( "3h=1350
\n" ); document.write( "h=450
\n" ); document.write( "s=300
\n" ); document.write( "
\n" );