8. Look at the growing pattern below. How many squares will it
take to make the nth figure in this pattern?

Step-by-step explanation:
the first thing we notice is : there are always 2 "extra" squares (1 added to the bottom left, and 1 added to the top right).
and then we see that we have a "core" of n+1 squares that are added n-1 times.
e.g. for n=2 we get (2+1)(2-1) = 3×1 = 3 squares in the middle.
for n=3 we get (3+1)(3-1) = 4×2 = 8 squares in the middle.
just to verify for n=1 : that would be (1+1)(1-1) = 2×0 = 0. meaning no middle squares, which is correct.
so, the formula for n is
squares(n) = (n+1)(n-1) + 2 = n² - 1 + 2 = n² + 1