Answer:
Mean=1.4
Median=1
Mode=0
Explanation:
We will make the frequency table based on our data as:
Number of Pets Frequency
0 15
1 10
2 6
3 4
4 3
5 2
Hence, the mean of the data is calculated as the ratio of sum of all the data point to the number of data points.
Hence,

Hence, Mean=1.4
Now the median is calculated as cumulative frequency.
Number of Pets Frequency
0 15 15
1 10 15+10=25
2 6 25+6=31
3 4 31+4=35
4 3 35+3=38
5 2 38+2=40
i.e. N=40
N/2=40/2=20
Hence, the value that lies in this range is: 25
Hence, Median=1
Also mode is the value corresponding to highest frequency.
Hence, Mode=0