We have a pyramid that follows a certain pattern.
The first stage have 3 blocks in the base and a maximum height, at the center, of 2 blocks.
The second stage adds two blocks in the base (a total of 5 blocks) and add one in height (a total of 3).
The same happens for stage three, so we can write this as:
Stage 2 (n=2):
Base: 3+2 = 3+2*(2-1) = 5
Height: 2+1 = 2+(2-1) = 3
Stage 3 (n=3):
Base: 3+2+2= 3+2*(3-1) = 7
Height: 2+1+1 = 2+(3-1) = 4
Stage n:
Base: 3+2(n-1) = 3+2n-2 =1+2n
Height: 2+(n-1) = 2+n-1 = 1+n
Then, at stage 10 (n=10), we will have:
Base: 1+2n = 1+2(10) = 1+20 = 21
Height: 1+n = 1+10 = 11