Find the next shape in the given pattern:
In the pattern given above:
(i) The first figure has two line segments.
(ii) The second figure is a closed polygon with 3 sides. It has one more side than the previous one.
(iii) The third figure is a closed polygon with 4 sides. It has one more side than the previous one.
So, the next figure will be a closed polygon with 5 sides.