Answer:
Let's consider that red fruit is dominant over the yellow fruit.
The phenotype of the red fruit of P1 will be red fruit and the genotype will be RR.
The phenotype of the yellow fruit of P1 will be yellow fruit and the genotype will be rr.
To check the outcomes of the F1 generation, lets cross the P1 generation:
r r
R Rr Rr
R Rr Rr
The results show that all the offsprings from the F1 generation will show the dominant phenotype which is red fruit and they will have Rr genotype.