Remember that we can get the mean of a dataset by adding up each datum and dividing such sum by the number of data.
Now, let's call the number of puppets Marco made M
This way, we would have that:

Solving for M :

Therefore, we can conclude that Marco made 4 puppets.