Answer:
Mendel's law of segregation and independent assortment
Explanation:
Gregor Mendel, in 1860's, was attributed for discovering the principles that govern heredity. One of the principles called Law of Segregation, states that allele pairs (from each parent) separate during gamete formation (meiosis) I.e. each allele separate individually into each gamete. When the two alleles of a pair are different (heterozygous), they separate into each gamete in an equal frequency.
In this case, the two different genes O and W have the alleles O, o for the first gene and alleles W, w for the second gene. In a heterozygous organism OoWw, the alleles of the two genes get separated randomy into each gamete according to Mendel's law of segregation.
The gametes will contain the following: OW, Ow, oW, ow
Mendel's law of segregation is closely related and foundational to his law of independent assortment, which states that alleles of two (or more) different genes get sorted into gametes independently of one another i.e. the allele a gamete receives for one gene does not influence the allele received for another gene.
For the two different genes O and W involved in this question, alleles O and o get sorted into gametes independently of alleles W and w.