The law of multiple proportions is illustrated by the pair of compounds:
The law of multiple proportions states that if two elements form more than one compound between them, then the ratios of the masses of the second element which combine with a fixed mass of the first element will always be ratios of small whole numbers.
So sodium chloride and sodium bromide is the correct answer.
Conclusion: The correct option is (D) NaCl and NaBr