To assess Mendel's law of segregation using tomatoes, a true-breeding tall variety (SS) is crossed with a true-breeding short variety (ss). The heterozygous F₁ tall plants (Ss) were crossed to produce two sets of F₂ data, as follows.
Using the X² test, analyze the results for both datasets. Calculate X² values and estimate the p values in both cases.

