Answer:
Since you have the percentage of each category, you need not find the actual value of each of them. You can just use the percentages t find your answer
Housing percentage : Food percentage
:
21:36
Divide each values by their HCF
21:36
7:12
Thus, the ratio of the housing percentage to the food percentage is 7:12.