We have a dihybrid cross, that is to say, we are working with two alleles, color, and seed type, R for round seeds, r for wrinkled, P for purple, and p for white.
The genotype proportions represented in the image are
PPRr: 4-----Purple, round
PPRR: 2-----Purple, round
PPrr: 2------ Purple, wrinkled
ppRr: 4----- White, round
ppRR: 2----- White, round
pprr: 2-------White, wrinkled
Therefore the phenotypic frequencies are
Purple flowers, round seeds: 4+2= 6
Purple flowers, wrinkled seeds: 2
White flowers, round seeds: 4+2=6
White flowers, wrinkled seeds: 2