Q: 12 (NDA-II/2018)

The atomic number of an element is 8. How many electrons will it gain to form a compound with sodium?
stats: 
0,8,0,0,8,0,0