If the ratio of cats to dogs is 2/3, then the ratio of cats to total animals is 2/5, so if there are 50 animals, 20 of them must be cats.