Answer
The null hypothesis of the chi-square test for independence states that row variable and column variable are independent. It implies that the proportions in each column (or in each row) are the same, which is exactly the null hypothesis of the chi-square test for homogeneity.
So, in both cases we use the procedures of the Goodness-of-Fit Test from section 12.1.
Work Step by Step
Given above.