Which of the following compounds would give lilac flame coloration and a white precipitate with…