If I remember right, there are 16 segments, and the top one needs to have a leaf. I seem to remember that the trick is to figure out what each color will grow. It varies from first shot to second shot, so you will need to know both. For example, the first shot may grow leaves on the first and third segments, while the second shot of the same color would grow one on the fourth. Test this for each of the colors (except red), and then figure out which combination will grow a leaf on the top (sixteenth) segment. I hope that helps. The puzzle is random, so I really can't tell you any more than that.
_________________________
I reject your reality and substitute my own. - Adam Savage