document.write( "Question 384185: A vendor sells hot dogs, bags of potato chips, and soft drinks. A customer buys 5 hot dogs, 2 bags of potato chips, and 2 soft drinks for $15.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.50 less than the price of hot dogs. Find the cost of each item.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #272061 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
A vendor sells hot dogs, bags of potato chips, and soft drinks.
\n" ); document.write( " A customer buys 5 hot dogs, 2 bags of potato chips, and 2 soft drinks for $15.50.
\n" ); document.write( " 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.50 less than the price of hot dogs. Find the cost of each item.
\n" ); document.write( ":
\n" ); document.write( "Let h = no. of hot dogs
\n" ); document.write( "Let p = \" potato chips
\n" ); document.write( "Let d = \" drinks
\n" ); document.write( ":
\n" ); document.write( "\"A customer buys 5 hot dogs, 2 bags of potato chips, and 2 soft drinks for $15.50.\"
\n" ); document.write( "5h + 2p + 2d = 15.50
\n" ); document.write( ":
\n" ); document.write( "\"The price of a hot dog is $0.75 more than the price of a bag of potato chips.\"
\n" ); document.write( "h = p + .75
\n" ); document.write( "or
\n" ); document.write( "p = h - .75
\n" ); document.write( ":
\n" ); document.write( "\"The cost of a soft drink is $2.50 less than the price of hot dogs.\"
\n" ); document.write( "d = h - 2.50
\n" ); document.write( ":
\n" ); document.write( " Find the cost of each item.
\n" ); document.write( "5h + 2p + 2d = 15.50
\n" ); document.write( "replace p and d
\n" ); document.write( "5h + 2(h-.75) + 2(h-2.50) = 15.50
\n" ); document.write( ":
\n" ); document.write( "5h + 2h - 1.50 + 2h - 5.00 = 15.50
\n" ); document.write( ":
\n" ); document.write( "you should be able to do this now
\n" ); document.write( "
\n" );