it is known that a polygon consists of n squares of the same size (this polygon is not necessarily a rectangle, but it must be a figure made up of squares). To cut this figure, you can only cut from the edge of each square. When you click submit, you can judge that all the cut areas have the same shape and area.
for example, this figure (Baidu randomly found a grid image), the red line divides the figure into four pieces. How to judge the shape of the four pieces? (ps: red lines are straight, red lines can only be straight from end to end)