pH= pKa+log[A-]/[HA]
pKa=-log(Ka)
-log(1.4/10^-4) (the Ka of lactic acid)
pKa=3.85
pH=3.85+log (0.25/.75)
pH=3.37
HCl is an acid, so the 0.05M HCl is added to the acid and subtracted from the base
pH= 3.85+ log(0.24/0.76)
pH=3.35 after addition of HCl