So, you need to have same ammount of atoms on the left and on the right side of the equation. You need to count the ammount of attoms of every substance on the left, and make sure that on the right side the ammount is same. For example in the 1st one it’s 6Sn+2P4=2Sn3P4, so that you have 6atoms of Sn on the left and 6 atoms of Sn on the right, same with the P
1 is D - double-replacements do not make solid metals
2 is A - to have complete combustion the original compound must ONLY have C, H and O
3 is B - the elemental Mg replaces the H in the HCl