Chi Squared problem

Here are the data for the problem. Sorry Kira that I didn't get this posted early enough for you. Tomorrow is fine.
This is a Dihybrid cross, meaning AaBb x AaBa. That means the expected results are 9:3:3:1. That won’t be what you get.
Cage 17 is the F1 dihybrid. Cages 12 and 16 are their because the were the source of the P1 generation.The remaining three cages, 18, 21 and 25 are just increasing numbers of offspring. Try performing a chi-square for 18, 21 and 25. It’s pretty striking how the size of the data set makes such a difference. There is a chi-square table below to assess the probabilities. For the homework, submit the chi-square value for each cage. What are the “Parental” types you expect to see more frequently if the genes are linked. Do you think the genes are linked? Explain your reasoning.
FlyCrosses

probab2