Click at the identical unlocked items to delete them. the item is unlocked when its two adjacent sides are opened. You win when all items are deleted.