A dihybrid cross is an experiment in genetics in which the phenotypes of two genes are followed through the mating of individuals carrying multiple alleles at those gene loci. Most sexually reproducing organisms carry two copies of each gene, allowing them to carry two different alleles. Historically, an organism with parts from two different true-breeding lines was referred to as a “hybrid”. Thus, the name “dihybrid cross” comes from the historical act of observing the future generations after two “pure lines” are crossed.
Since yellow is the dominant trait of seed colour Y dominates y to determine seed color, and round dominates the seed shape, R factor for "round" dominates the r factor for "wrinkled" to determine seed shape.