If you have not already done so, download Avogadro for free and watch the tutorials if necessary.
Download or build the structure of two binary salts and two ternary salts as you wish.
Why does Avogadro show molecules in that way? What does it represent?
By reading the properties (sequence Wiew → Properties) will get help for the answer.