How to read this table:
Reading across the top row (the "has a dog" row):
-- 16 persons both have a dog and have a cat
-- 6 persons have a dog but do not have a cat
-- there is a total of 22 persons who have a dog
Reading across the next row (the "does not have a dog" row):
-- 4 persons do not have a dog but do have a cat
-- 3 persons have neither a dog nor a cat
-- there is a total of 7 persons who do not have a dog
Reading down the first column (the "has a cat" column):
-- 16 persons have both a dog and a cat
-- 4 persons have a cat but no dog
-- there is a total of 20 persons who have a cat
Reading down the next column (the "does not have a cat" column):
-- 6 persons do not have a cat but they do have a dog
-- 3 persons have neither a dog nor a cat
-- 9 person do not have a cat
The 29 in the lower right-hand corner box shows the total number of people.
To answer the first question: 22 out of 29 have a dog, for a probability of 22/29.
To answer the second question: only 3 do not have either a cat or a dog, so 26 have one or the other (or both): 26/29