The small one * * *1+3+5+7+5+3+1= 25.
The square of the four groups ***2+4+4+2= 12.
9 small squares * * *1+3+1+1= 5.
It adds up to 25+ 12+5=42.
I hope my answer can help you. If you are satisfied, please adopt it ~