About the corn question, I dont know why it isn't D... It said that purple mated with yellow, and for it to be yellow it must be pp! And because some of the "offspring" is also yellow, the purple must be heterozygous. So I think the answer is Pp X pp, answer D.