The corn is a producer, meaning that it acquires energy from the sun rays and nutrients from the soil. This energy and nutrients is passed on to the grasshopper, when the corn is eaten by the grasshopper. Therefore, when the grasshopper is eaten by the lizard, it has energy and nutrients from the corn, and they are passed on to the lizard as well. In the end of the chain, when the snake eats the lizard, this lizard contains the energy and nutrients acquired from the grasshopper and from the corn, and those nutriets and energy are passed on to the snake as well.
Therefore, the correct answer is B) By eating the lizard