Answer:
The P generation has yellow and green seeds.
The F1 generation has all yellow seeds.
The F2 generation has yellow and green seeds.
Step-by-step explanation:
A dominant gene is the one which is able to express itself even in the presence of another recessive gene.
Therefore, since yellow is dominant over the green, in the heterozygous condition, the plant will have a yellow color.
Now considering the parental (P) generation to be true breeding as given in the question, the cross would be as follows:
P YY (yellow plant) X yy (green plant)
F1 Yy (yellow plant)
F2 YY Yy Yy yy
where YY and Yy are yellow plants and yy is a green plant.
See the attached image of the Punnett square for the cross.