p(allele for the frequency of straight hair) and q(the frequency for curly hair). Here is an article that should help further explain hair phenotypes!
hetech.org/ask-a-geneticist/three-equally-represented-phenotypes
7.6m questions
10.2m answers