A plant with genotype RrYy has two heterozygous gene pairs. Following Mendel's law of independent assortment, it produces 2^2 = 4 types of gametes: RY, Ry, rY, and ry. Each allele combination is equally likely. This is a classic dihybrid cross result.