Step-by-step explanation:
beryllium must loss 2 electrons to form a stable octet to its nearest noble gas Helium.
It can loss electron because it is a metal and is placed in 2group and 2 period in group of alkaline earth metals.
hope this helps you to.