Producers include plants that can make their own food. They always occupy the first level in the food chain. Here, grass is a producer.
Insects feed on the grass and occupy the next level in the food chain. They are primary consumers.
Frog, being secondary consumer occupies the next level in the food chain. Snake being the top carnivore or tertiary consumer in this food chain occupies the last level.