(a) The two reactions involved are (i) Hoffmann bromide degradation which converts an amide to amine (with one C atom less) and (ii) Hoffmann's carbylamine test/ isocyanide test which converts amine to isocyanide.
R−CONH2Br2/NaOH−−−−−−−−−−−−−−−→Na2CO3+2NaBr+2H2OR−NH2XCHCl3/KOH(alc.)−−−−−−−−−−−→−KCl+H2OR−NCY
(b) Alkanamine is more basic than ammonia due to +I effect of alkyl group. Due to this, the electron density on nitrogen increases and the lone pair of electrons becomes readily available for protonation. The alkyl ammonium ion is stabilized due to dispersal of positive charge by +I effect of alkyl group.