Primary school pupils 10-11 years old must solve the problem of a shepherd to build a fence for his sheep. The mathematical background is the comparison of the perimeters of three figures obtained one from the other by some modifications.