Dihybrid cross and chi-square analysis