The ions X- and Y+ are isoelectronic, each containing a total of 10 electrons. How…