Be2C + H2O → BeO + x
CaC2 + H2O → Ca(OH)2 + y
Mg2C3 + H2O → Mg(OH)2 + z.
x,y & z are respectively
CH4, C2H2, C3H4
CH4, C2H2, C3H8
CH4, C2H6, C3H8
C2H2, C2H6, C3H4
The given reactions are self explanatory
Be2C + 2H2O → 2BeO + CH4
CaC2 + 2H2O → Ca(OH)2 + C2H2
Mg2C3 + 4H2O → 2Mg(OH)2 + C3H4