how do i find a name and formula for a combination of an anion and a cation?

ex: Na2CO3 + Ba(NO3)2