I'm a bit confused when to know if x = p^2+2p or weather p is just p^2 (or is it never just p^2 and is only just p or just p^2+p2), god this is going to sound so confusion lol. So in context of a question:
"A population of summer squash plants only produced green and yellow fruit, the percentage of plants producing yellow fruit in the population was 36%, calculate the percentage heterozygous for gene b (yellow)"
So I initially did: p^2= 0.36 and got an answer of 48% heterozygous. This was wrong the answer was 32% as I was meant to do p^2+p = 0.36, so is it never just equal to p^2?
I hope this made sense, sorry if it didn't..