The given problem is a conditional probability problem.
Probability that a student has a cat given that he/she has a dog is represented as:
Thus,
Therefore,
7.2m questions
9.6m answers