I think it will help you
Length of one side is 10m
Distance between two posts is 2m
So in one side we will use 10/2posts =5 posts
So In 4 sides we will use 5x4 posts =20 posts.
(In the figure you can count the number of posts)
= 50 posts
plzzz mark as brainliest if you find it helpful !