 
<translate> Bari c ya zama adadin cats kuma bari d ya zama adadin karnuka. Mun san cewa c = 20 + d kuma cewa jimlar yawan dabbobi shine c + d = 60. Sauya c yana ba da 20 + d + d = dabbobi 60. Idan muka haɗa abubuwa iri ɗaya kuma muka rage 20 daga ɓangarorin biyu, za mu sami 2d = 40. Idan muka raba bangarorin biyu da 2, za mu samu d = 40 / 2 = 20. Saboda haka, gidan mafaka ya karɓi kuli 20 + 20 = kuli 40. Amsar ita ce: 40. <eng> Let c be the number of cats and let d be the number of dogs. We know that c = 20 + d and that the total number of animals is c + d = 60. Replacing c gives 20 + d + d = 60 animals. Combining like terms and subtracting 20 from both sides, we get 2d = 40. Dividing both sides by 2, we get d = 40 / 2 = 20. The shelter therefore received 20 + 20 = 40 cats. The answer: 40. 