The distribution of 2 alleles in Hardy-Weinberg equilibrium is p + q = 1, where p is frequency of allele A, and q is frequency of allele a.

The three genotypes AA, Aa, and aa have the frequencies p2, 2pq, and q2, respectively, and these frequencies also add up to 1.