The game took a bit to get used to, as I just kept planting the first available plant which made it frantic with little payoff. Eventually I got it: