In a particular species of frogs, black spots are dominant trait in their absence is a recessive trait. In a population of frogs, 50 are homozygous for the dominant trait, 34 are heterozygous, And 16 show the recessive trait. Which expression is the correct way to calculate the frequency of the dominant allele?