Acetic acid is an weak acid. According to Henderson-Hasselbalch equation for a buffer consist of weak acid (acetic acid) and its conjugate base (acetate)-
Here pH is 5.31, (acetic acid) is 4.74 and number of mmol of acetic acid is 10 mmol.
Plug in all the values in the above equation:
or, mmol of = 37
So 37 mmol of acetate need to add to this solution.