The ratio of dogs to cats at an animal shelter is 3 to 2. How many dogs are at the shelter if there is a total of 30 animals?
a) 18 dogs
b) 15 dogs
c) 12 dogs
d) 10 dogs