Answer:
Nitrogen (N) and Oxygen (O)
Step-by-step explanation:
Nitrogen (N) has five valence electrons, so it needs three more valence electrons to complete its octet. Two nitrogen atoms will combine. Each will share three electrons to form three covalent bonds, i.e., a triple bond, resulting in a nitrogen molecule.
The valency of oxygen (O) is two, which means that it requires two electrons to complete its outermost (valence) shell. Therefore, two oxygen atoms will combine and share their two valence electrons, resulting in a double bond.