Margie is responsible for buying a weeks supply of food and medication for the dogs and cats at a local shelter. The food and medication for each dog costs twice as much as those supplies for a cat. She needs to feed 164 cats and 24 dogs. Her budget is $4240. How much can margie spend on each dog for food and medication

Respuesta :

Answer:

$20 on each cat and $40 on each dog

Step-by-step explanation:

Call the amount spent on each, cat, x   and let the amount spent each dog = y = 2x

So we have the following constraints:

y = 2x   (1)

164(x) + 24y <= 4240  (2)  

Substituting  (1)  into 2 for y, we have

164x + 24(2x) <= 4240     simplify

212x <= 4240     divide both sides by 212

x<=  $20  on each cat

And  y  = 2(20)  = $40  on each dog

So she can spend $20 on each cat and $40 on each dog