When a gene pair (allele) contains two different genes in an organism then the organism is considered as heterozygous for that particular character. The number of types of gametes can be measured by 2n where n is the number of heterozygous pair. Therefore, 8 different types of gametes are formed.