pH = pKa + log [salt]/[acid]
5.0 = 4.75 + log [salt]/[acid] ( pKa value of acetic is constant i.e 4.75)
0.25 = log [salt]/[acid]
[salt]/[acid] = 1.7782
Here potassium acetate is salt and acetic acid is the acid ( acidic buffer)
no. of moles of potassium acetate = 3 x 500/1000
= 1.5 moles
no. of moles of acetic acid = ?
1.5/[acid] = 1.7782
no. of moles of acetic acid = 0.8435