in a pet store the number of dogs is 12 more than three times the number of cats. If the pet store has 21 dogs how many cats does it have