At the veterinarian's office, 4 animals out of every 5 seen were cats. A total of 35 animals were seen.

a. How many cats were seen?

b. The ratio of male cats seen was 6:7. How many of the cats seen were males?