(a) Simple ion is formed due to gain or loss of electrons by a single atom of an element, For eg. Na, K, Mg2, etc.
A compound ion is formed due to excess anions or cations in a compound. For eg. ammonium ions (NH4), carbonate ions(CO32), etc.
(b) (i) As Y has four valence electrons, it will form four single bonds with a chlorine atom and form YCl4.
(ii) As Y has four valence electrons, it will form two double bonds with an oxygen atom and form YO2.
(iii) As Y has four valence electrons, it will form two double bonds with sulfate atom and form Y(SO3)2.
(iv) As Y has four valence electrons, it will form two double bonds with carbonate and form Y(CO3)2.
(v) As Y has four valence electrons, it will form four single bonds with nitrate and form Y(NO3)4.