Subdivide the 8x10 grid below along the grid lines into nonoverlapping rectangles (some may be squares). Each rectangle must contain exactly one number; each number indicates how many small cells are contained within the rectangle.
From Mensa Puzzle Calendar 2018 by Fraser Simpson, Workman Publishing, New York. Puzzle for June 26.
The required subdivision is performed in the following manner:
4 8 8 7 7 7 7 7 7 7
4 8 8 12 12 12 12 4 6 6
4 8 8 12 12 12 12 4 6 6
4 8 8 12 12 12 12 4 6 6
7 7 7 7 7 7 7 4 8 8
15 15 15 15 15 9 9 9 8 8
15 15 15 15 15 9 9 9 8 8
15 15 15 15 15 9 9 9 8 8