Write equations that show the processes that describe the first, second, and third ionization energies for a gaseous gadolinium atom.