Try to delete all the rotten pumpkins. You do so by clicking on the pumpkins themselves, or on the pumpkins around. These have special qualities: the black ones are very heavy and the red ones inflame spontaneously. First think about the order you click in, because it influences and determines the rest of the level.
Click on the pumpkin you want to make disappear.