Answer: B, C, D
A yellow silver precipitate soluble in both dilute HNOX3 and NHX3 is AgX3POX4 (AgI and AgBr do not dissolve in HNOX3), so the anion is phosphate. It therefore gives the yellow phosphomolybdate and white MgNHX4POX4. Barium phosphate dissolves in dilute HCl, so no sulphate-type precipitate forms. Correct: first, second and third.