Alkali metals react with water to give a base. In our case, the molecular weight of this compound is given to be 40. If the base is of the formula XOH, where X is the alkali metal, we have,
MW of XOH = x+16+1 = 40
x=23
The alkali metal with atomic weight 23 is sodium(Na). If we assume that the base is of higher basicity, the value 40 will be exceeded.Thus, A would be sodium and B, Sodium hydroxide.
For the 3rd reaction, we have Aluminium oxide reacting with sodium hydroxide.Aluminium oxide is an amphoteric oxide and can react in both basic and acidic manner. Here we have NaOH, which is a base. Al2O3 will hence act as an acidic salt. The reaction will proceed similar to an acid-base reaction, giving a salt and water as the product.
A−Na;B−NaOH;C−NaAlO2
2Na+2H2O→2NaOH+H2
Al2O3+2NaOH⟶2NaAlO2+H2O