To remove the pencil from the box, you'll need to match pieces of the corresponding color or activate a power-up next to the box. Boxes contain from 1 to 4 pencils of different colors — once all the pencils are removed from the box, it disappears from the field.