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.