Ionization energy is the amount of energy required to remove an electron from an isolated atom.
Part (a)
Among Boron (B) and Aluminium (Al); the ionization energy of Boron is greater.
The ionization energy decreases down the period, Hence, the ionization energy of B is greater than Al.
Part (b)
Among Boron (B) and Fluorine (F); the ionization energy of the Fluorine is greater.
The ionization energy increases from left to right in a period. Hence, the ionization energy of F is greater than B.