Write out the equation into a structural chemical formula (it would be tons easier if you write it down as I describe it).
Equation 1 is correct and this is how the reactants form the products:
Write down 2 carbons (C) with a single bond between them. On the left C use the other 3 bonds C has available for H's - 1 coming off the top, one to the left side and 1 on the bottom. On the right C one bond it taken up with the bond to the left hand carbon. That leaves 3 empty bonds. To the left, use bonds 2 & 3 to form a double bond with one of the O's. Use bond 4 to connect with an OH. You have just written out the chemical formula for acetic acid (vinegar)
Baking soda: NaHCO3. Write 1 C. To the left use one of it's 4 bonds to add a H and add a Na to the left of the H (there was an extra space because the H has to be H+). Back to the C, add 3 H's - one on top, one to the right and one on the bottom.
Products: Take the H from the baking soda, one of the O's and the H from the OH on the vinegar to make H2O (water). Now from the baking soda take the C and two remaining O's to form CO2 (carbon dioxide). That leaves Na from the baking soda. The acetic acid has lost only one H from the OH so far. On the right hand carbon, keep the single bond with the one O intact. Break the double bond with the other O. Keep one bond with that O and give the free one to Na. Reading left to right you have CH3COONa, sodium acetate.
(In equation 2, the baking soda is written correctly but the although the chemical formula could be written down the same as in equation 1, as it is written down structurally, isn't in the correct order to form acetic acid)