by precipitation from solutions of magnesium salts with ammonia