metals tend to______electrons to form while nonmetals tend_______electrons.​