Hint #1
Squares can come in different sizes.
Hint #2
Look for overlap.
Answer
27