The correct option is B X: Acid, Y: Base
Metal carbonates react with acids to give carbon dioxide gas. Hence, X is an acid.
Non-metal oxides combine with a base to produce salt and water. The reason behind is the acidic nature of non-metal oxides. Hence, Y is a base.
Acids and bases react to give salt and water along with evolution of heat.