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,
9.5m questions
12.2m answers