(a) The oxide XO is neutral in nature as it has no action on litmus solution.
(b) The oxide XO2 is acidic in nature as it turns litmus solution red.
(c) The element X is a non-metal because it forms an acidic and neutral oxide, which is the property of a non-metal.
(d) Carbon is a non-metal like the element X.