Write euations to show how a buffer made up of equimolar amounts of acetic acid, CH3COOH, and acetate, CH3COO-, would behave when (a) HCl was added and (b) NaOH was added.

Is this right,If not what is the correct way?

CH3COOH + HCl ----> CH3COOHCl + OH
CH3COO + NaOH ----> CH3COOHNa + H2O

1 answer

Not all right but the right idea.
When a strong base is added (such as NaOH) it reacts with the weak acid (CH3COOH) of the buffer.
CH3COOH + NaOH ==> CH3COONa + H2O

When an strong acid (such as HCl) is added, it reacts with the weak base of the buffer (CH3COO^-).
CH3COO^- + HCl ==> CH3COOH + Cl^-