a family adopted a total of 13 cats and dogs from the local animal shelter. the number of cats they have is 2 less than twice the number of dogs. how many cats and dogs do they have?