Though the letters are different,
the case here is like #2 in that the genotype shows heterozygous at all
3 loci. However, here two of the loci are linked. In
#2 all 3 loci were unlinked. Allele "E" and allele "G" are on the
same chromosome, like 2 knots in the same piece of string. Allele
"e" and allele "g" are on the same chromosome. So, assuming
that there is no crossing over between these 2 loci (that's an important
point), then segregation during meiosis will segregate "E" and "G" from
"e" and "g". There are 4 gamete genotypes possible.