Answer:
I would say that there would be 28 squares in the 7th pattern.
Step-by-step explanation:
If you look at how the pattern is gradually increasing every time you add the number located at the bottom to the previous pattern. So if that is the rule then you would add 7 more squares to the 21 squares in the 6th pattern. Then you add
21 + 7 and you get 28.
Ex: In the first pattern there is 1 square and then in the 2nd pattern you see that there is an additional 2 squares which is the number at the bottom of the actual pattern.
*Idk if this is the actual rule to the pattern so please do not come for me if I am wrong but this is the way my brain sees the patterns in the picture. I also went ahead and tried my theory for all the patterns in the picture and it works :)
I really hope that this helps you understand the question a bit more! :)