Did you read my post here about understanding H-W equation? It is here:
http://usmleforum.com/forum/message.php?id=53819
definitions:
p and q are gene frequencies. In this Q, they already told you that 0.77% is the frequency of one certain gene ,called K304E. We don't care about the name of the gene. We care about the fact that its frequency in the population is 0,77%, by definition, it is the value of q.
Understand?
Okay, now you know the gene frequency is 0.77%, they are asking for the phenotype: homologous K304E, to be homologous, both allele have to be K304E , right? Otherwise they won't be homologous K304E, so they are asking for q^2.
To help you understand this kind of Q, you have to know, that on chromosomes, different genes normally have two alleles, they can be the same , or different. For the same ones, they are either homologous normal or homologous diseased, for the different ones, they are just carriers of that certain disease.