First one is balanced because all of the elements in reactant and product have equal number of atoms.
second one is not balanced therefore you need to add coefficient to balance it. so its CaCl2 + 2NaHCO3 = CO2 + CaCO3 + H2O + 2NaCl
both of them seem double replacement reaction
Hope it helps!
~ Rabin