magnesium has a charge of +2 and fluorine has a charge of -1. how do you determine the number of each ion that will be present in the in the ionic compound?