You have to divide the grid into rectangular and square pieces such that each piece contains exactly one number, and that number represents the area of the rectangle.
Desktop: Click and drag to draw a rectangle. Right click to remove a rectangle.
Mobile: Select a starting point then press where you want to draw a rectangle. Press and hold to remove a rectangle.