You would just collect sun combined from the sky and your Sunflowers or your Twin Sunflowers. It was not entirely hard, but the problem was keeping 500 sun, as even when your defenses were fully set, you would have probably ended up using some sun on freezing zombies or for instant-kill plants.
Trivia
Solar Saver, Power Surge, and Burnout were impossible to earn in the same level.