Answer: alkaline earth metals (group-IIA)
Step-by-step explanation:
The element which donates the electron is known as electropositive element and forms a positively charged ion called as cation. The element which accepts the electrons is known as electronegative element and forms a negatively charged ion called as anion.
Alkaline earth metals donate 2 valence electrons to acquire noble gas configuration.
For example: Berrylium is the first alkaline earth metal with atomic number of 4 and thus has 4 electrons
Electronic configuration of berrylium:
![[Be]:4:1s^22s^2](https://img.qammunity.org/2020/formulas/chemistry/middle-school/hup67hxg4vla4ne2fo1i0ikecl9981eo5e.png)
Berrylium atom will loose two electrons to gain noble gas configuration and form berrylium cation with +2 charge.
![[Be^(2+)]:2:1s^2](https://img.qammunity.org/2020/formulas/chemistry/middle-school/uoz13eb0zk2gj6m2ijhsc1k94uffvcv05v.png)
Thus Elements donate 2 electron to produce a cation with a 2+ charge are alkaline earth metals.