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