To determine the probability that a person chosen at random likes dogs, you have to divide the number of people that like dogs by the total number of people surveyed:
108 prefer cats
181 prefer dogs
100 don't like pets
Total: 389
The probability that a person is chosen at random and prefers dogs is 0.47