Bond order is related to the number of bonding and antibonding electrons in a molecule. For molecules like \( C_2 \), \( B_2 \), and \( O_2 \), the bond order can be calculated using the molecular orbital theory.
For \( C_2 \), the bond order is \( x \), which indicates that the total bonding electrons contribute to the bond strength. The molecular orbital theory states that in \( B_2 \) and \( O_2 \), bond orders are proportional to the bonding electron count relative to the number of electrons in the antibonding orbitals.
Thus, if the bond order in \( C_2 \) is \( x \), we find that the bond order in \( B_2 \) is \( \frac{1}{2} x \), and the bond order in \( O_2 \) is \( x \).