Phenotypes were obtained in the f2 generation

In D. melanogaster, the alleles dp+ and dp determine long versus short wings, and e+ and e determine gray versus ebony body. A dihybrid cross was carried out to produce flies homozygous for both dp and e. The following phenotypes were obtained in the F2 generation:

long wing, gray body 462
long wing, ebony body 167
short wing, gray body 127
short wing, ebony body 44

Test these data for agreement with the 9:3:3:1 ratio expected in the two pairs of alleles undergo independent assortment.

"Is this question part of your assignment? We can help"