Maths
posted by Jeconiah on .
Margie is responsible for buying a week's 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 K4,240. How much can Margie spend on each dog for food and medication?

cost of cat  x
cost for dog  2x
164x + 24(2x) = 4240
212x = 4240
x = 20
spends 20 on a cat and 40 on a dog
check:
20(164) + 40(24) = 4240