Step 1: Build the Punnett square idea.
Each parent RrYy makes four types of gametes in equal numbers: RY, Ry, rY, ry. Crossing two such parents gives a 4 x 4 = 16 box grid of offspring combinations.
Step 2: Count the phenotype classes.
Reading the 16 boxes, 9 carry at least one dominant allele of both genes, 3 are dominant for the first gene and recessive for the second, 3 are the reverse, and 1 is recessive for both genes.
Step 3: Reject the other ratios.
1 : 2 : 1 and 3 : 1 are single-gene (monohybrid) ratios, not dihybrid. 9 : 7 turns up only in gene interactions like complementary gene action, not in a simple independent dihybrid cross.
Final Answer:
So the phenotypic ratio for a classical dihybrid cross is 9 : 3 : 3 : 1, option (D).