How do you write the formula for the combination of 2 chemicals?

example: al3+, br1-, and o2- combined would be what? ​