Answer: A, B
Test (i) is on the original solution, so NHX4X+ is present. The carbonate precipitate with brick-red flame and no yellow chromate indicates CaX2+ and rules out BaX2+. Magnesium is not precipitated by (NHX4)X2COX3 under these conditions, so no conclusion about it can be drawn from these tests.