since 6 are birds and you know he has 2 parakeets, you know he has 4 canarys. He has 5 goldfish since he has one less canary then goldfish. He has 1 turtle since he has 4 more goldfish than turtles.
2 parakeets + 4 canarys + 5 goldfish + 1 turtle = 12 pets