Since a total of 500 men were asked and only 20 said to be vegetarian, 480 men are not vegetarian. Similarly, in the case of the women, 512-36=476 are not vegetarian.
With this information, we can complete the contingency table as shown below
8.0m questions
10.7m answers