6. In a population of fish, the frequency of individuals with the genotype QQ is 0.49, and the frequency
of individuals with the genotype Qq is 0.42. Calculate the frequency of the dominant and recessive
alleles and check if the population is in Hardy-Weinberg Equilibrium.