Here is a tip for future levels: put your sunflowers Infront of your main attacking plants instead of behind, to use them as meat shields. This is because later in the level you won't need sun anymore, and a repeater costs 200 sun and a sunflower costs 50 sun. Also, never use twin sunflower as your ONLY sun producer, pair it with normal sunflower/sun-shroom. Or, better yet use primal sunflower when you unlock it.