if two atoms are bonded together, one with six valence electrons, the other with four, how many electrons must they share for both to achieve a full octet?

if two atoms are bonded together one with six valence electrons the other with four how many electrons must they share for both to achieve a full octet class=