help :(( i am very confused and if the screenshot says 25 just know its 26 not 25

Answer:
Step-by-step explanation:
25-3 =22 have a cat or a dog
15 +16 =31 students are in the class if every person has either a cat or a dog
But we have 22
so 31 - 22 = 9 have both cat and dog
the probability is 9/25