In resultant solution after addition of HCl to the basic buffer:
nNH3=0.1−0.02=0.08
nNH4Cl=nNH4+=0.1+0.02=0.12
Using Henderson-Hasselbach equation:
pOH=pKb+log[NH3][NH4+]
=4.745+log0.080.12
=4.745+log23
=4.745+0.477−0.301
pOH=4.921
We know,
pH=14−pH
=9.079