An animal shelter spends $2.50 per day to care for each cat and $4.00 per day to care for each dog. Camden noticed that the shel
ter spent $100.50 caring for cats and dogs on Thursday. Camden found a record showing that there were a total of 30 cats and dogs on Thursday. How many cats were at the shelter on Thursday?
Let x represent the number of cats that were at the shelter on Thursday.
Let y represent the number of dogs that were at the shelter on Thursday.
Camden found a record showing that there were a total of 30 cats and dogs on Thursday. This means that
x + y = 30
The animal shelter spends $2.50 per day to care for each cat and $4.00 per day to care for each dog. Camden noticed that the shelter spent $100.50 caring for cats and dogs on Thursday. This means that
2.5x + 4y = 100.5 - - - - - - - - - - - - 1
Substituting x = 30 - y into equation 1, it becomes