Expanding pattern

How many squares are needed to continue this pattern?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



The diagram shows the first three patterns in a sequence in which each pattern has a square hole in the middle.

Image
Expanding Pattern


How many small shaded squares are needed to build the tenth pattern in the sequence?

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.