Six friends – Alice, Bob, Carol, David, Eve, and Frank– are sitting in a row facing south. Each of them has a different favorite subject: History, Math, English, Science, Geography, and Art. They also have different pets: Dog, Cat, Rabbit, Parrot, Turtle, and Goldfish. The following information is known :
1. Alice, who likes Science, is at one of the ends.
2. Frank sits third to the left of Alice.
3. Bob, who likes History, is not at any of the ends.
4. The person who likes Geography is sitting second to the right of Carol
5. Eve, who has a Rabbit, is sitting at one of the ends.
6. David is sitting between Eve and Alice.
7. The person who likes Math is sitting next to the person with a Goldfish.
8. Carol, who likes English, is not sitting next to Bob.
9. The person who has a Cat is sitting to the immediate right of the person who likes Math.
Based on the given information, answer the following:
Who likes Math, and what is their pet ?