Answer
Group 6: ns2 np4 - 6 outer electrons
Group 7: ns2np5 - 7 outer electrons
Work Step by Step
Group 7A elements only need 1 electron to achieve a noble gas configuration and have a full outer shell.
Since group 6A elements need two electrons, their affinity for one electron is noted as less negative because one electron will only give them a np5 configuration - this is not the most stable form they can achieve.
All atoms wish to fill their outer shells and achieve noble gas configuration.