A population of drosophila in hawaii is segregating two alleles, p1 and p2, of the phosphoglucose isomerase (pgi) gene. In a sample of 100 flies from this population, 30 were p1p1 homozygotes, 60 were p1p2 heterozygotes, and 10 were p 2p 2 homozygotes.
What are the frequencies of the p1 and p2 alleles in this sample?