Here's how to figure that out:
* Tin is a metal with the symbol Sn. It typically has a +4 charge in ionic compounds.
* Nitrogen is a nonmetal with the symbol N. It typically has a -3 charge in ionic compounds.
To balance the charges, you need three tin ions (3 x +4 = +12) and four nitrogen ions (4 x -3 = -12).