Answer: The green allele is dominant. The F1 generation has one yellow allele and one green allele.
Step-by-step explanation:
The P generation had to pass down a yellow and green allele from each of the true-breeding (pure-bred) plants. If green is the trait being seen, even though the yellow allele is present, green is dominant. The F1 generation has one of each allele.