It is clear from figure that to make container, the numbers of match sticks required can be find by following pattern.
Similarity, for n containers
Numbers of matchsticks
= (2 + 2 + 2 + ….. n) + 1
= 2 × n + 1 = 2 n + 1
∴ Following is the table given in questions