An element of group 2 forms covalent oxide which is amphoteric in nature and dissolves in water to give an amphoteric hydroxide. Identify the element and write chemical reactions of the hydroxide of the element with an alkali and an acid.

BeH2 can be prepared from the corresponding halides by the reduction with complex alkali metal hydrides such as lithium, aluminium hydride LiAlH4.
$8\mathrm{LiH}+{\mathrm{Al}}_{2}{\mathrm{Cl}}_{6}\to 2{\mathrm{LiAlH}}_{4}+6\mathrm{LiCl}$