A mean is just another word for average. We get the average by adding up all the data number and dividing this sum by the number of data numbers there are.
So that list all added up is 40, and since there are 10 numbers, we divide 40 by 10, which gives us a mean of 4 people per household.