document.write( "Question 986232: A vendor sells hot dogs, bags of potato chips, and soft drinks. A customer buys 3 hot dogs, 4 bags of potato chips, and 5 soft drinks for $12.50. The price of a hot dog is $0.75 more than the price of a bag of potato chips. The cost of a soft drink is $2.00 less than the price of two hot dogs. Find the cost of each item. \n" ); document.write( "
Algebra.Com's Answer #607029 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A vendor sells hot dogs, bags of potato chips, and soft drinks. A customer buys 3 hot dogs, 4 bags of potato chips, and 5 soft drinks for $12.50. The price of a hot dog is $0.75 more than the price of a bag of potato chips. The cost of a soft drink is $2.00 less than the price of two hot dogs. Find the cost of each item.
\n" ); document.write( "-------------
\n" ); document.write( "3h + 4c + 5d = 12.50
\n" ); document.write( "h = c + 0.75
\n" ); document.write( "d = 2h-2
\n" ); document.write( "---------
\n" ); document.write( "Substitute for \"c\" and \"d\" and solve for \"h\"::
\n" ); document.write( "3h + 4(h-0.75) + 5(2h-2) = 12.50
\n" ); document.write( "17h - 7 = 12.50
\n" ); document.write( "17h = 19.50
\n" ); document.write( "h = $1.15 (price of a hot dog)
\n" ); document.write( "-----
\n" ); document.write( "c = h-.75 = 0.40 (price of bag of chips)
\n" ); document.write( "-----
\n" ); document.write( "d = 2h-2 = 0.30 (price of a soft drink)
\n" ); document.write( "-----------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "---------------
\n" ); document.write( "
\n" );