(b) The electrostatic $P.E.$ is zero when the electron and proton are far apart from each other. Work done in pulling electron and proton far away from each other
$W = E_{f} - E_{i} = 0 - E_{i} = - \left( - \frac{13.6}{n^{2}}eV \right)$
$\Rightarrow W = \frac{13.6}{(2)^{2}} \times 1.6 \times 10^{- 19}J = 3.4 \times 1.6 \times 10^{- 19}J$