The fluoride anion is formed when fluorine accepts an electron:
F + e⁻ → F⁻
Part B
The electron affinity is the energy necessary for the atom to accept 1 electron, which is exothermic, so it's negative. The total energy q is the electron affinity multiplied by the number of moles: