The pattern followed here is : The sides of the figure increase in each figure the increased side of figure come inside the previous figure and in the next figure, the outer figure gets eliminated.
Hence, the figure in option (4) is the correct answer