You should start from reaction of sodium carbonate (or bicarbonate) with HCl (or NaOH). Strong acid (HCl) replace a weak one (carbonic acid). Then you should decide which type of calculation you should do - buffer solution, hydrolysis of salt or excess of strong acid (or base). For these calculations you need (probably) both dissociation constants of carbonic acid H2CO3.
THe last (e) problem shows a printing error. NaCO3 cannot exist.
eg - example c
NaHCO3 + HCl = H2CO3 + NaCl
10 milimoles of NaHCO3 + 5 milimoles of HCL = 5 milimoles of H2CO3 + 5 milimoles of excessing NaHCO3 and 5 milimoles of NaCl
Hence, this is a buffer solutions containing the same amounts (or concentrations) of H2CO3 and NaHCO3 and its pH, in this case, is equal to pKa1 of H2CO3 (without taking into account ionic strength)