Element X needs two electrons to complete its valence octet. Two X atoms share two electron pairs equally, establishing a double covalent bond to create a stable diatomic molecule with the structure X double bond X.
Home/element x has six electrons in its outer shell and forms a diatomic molecule