Need Help Visualizing Square Layer?

Can someone help me visualize this problem? Never seen anything like it before.

This is how this would look. I ChatGPTed it. It then becomes a problem of sum of squares from 9 square to 1 square and that gives the answer 285.