Generate the phenotype ratio for a trihybrid (three-gene) cross.
Assumes independent assortment of all three genes (no linkage). Classic heterozygous × heterozygous trihybrid cross gives a 27:9:9:9:3:3:3:1 ratio.