1. B, because organism B utilizes radiant energy from the sun
2. A, because organism A has the same role as the corn
3. B, because organism B has the same role as the racoon
4. A, because organism A utilizes energy from the beetle
A producer is an organism that makes it's own food, such as a plant with photosynthesis, lichens and algae converting water, etc.
By the way, the racoon and beetle would be considered consumers, as they cannot make their own food.