Move all the wooden blocks to fill a shape. Click to rotate a block and…