How does this food chain work, who gets energy from what in order?

Sun, Grass, Hawk, Snake, frog, and grasshopper.