SOLUTION: You are buying meat for a cookout. You need to buy 8 packages of meat. A package of hotdogs costs 1.89 and a package of hamburgers costs 5.19. You spend a total of 31.62. How m

Algebra ->  Expressions-with-variables -> SOLUTION: You are buying meat for a cookout. You need to buy 8 packages of meat. A package of hotdogs costs 1.89 and a package of hamburgers costs 5.19. You spend a total of 31.62. How m      Log On


   



Question 25254: You are buying meat for a cookout. You need to buy 8 packages of meat. A package of hotdogs costs 1.89 and a package of hamburgers costs 5.19. You spend a total of 31.62. How many packages of each kind of meat did you buy?
Answer by Paul(988) About Me  (Show Source):
You can put this solution on YOUR website!
Let the pagke of hot dags be x
Let the pakage of hamburgers be y
Now they total up tp 8 packages.
xEliminate the cost
x+y=8
y=8-x

Cost of hotdogs = $1.89
Cost of hamburgers = $5.19
1.89x+5.19y=31.62
1.89x+5.19(8-x)=31.62
1.89x+41.52-5.19=31.62
-3.3x=--9.9
x=3
y=8-3
y=5

Hence he bought 3 pakages of hotdogs, abd 5 pakages of hamburgers.
Paul.