Number of signals in a 1H NMR spectrum can be calculating by counting its non-equivalent protons.

Types of protons in 1,2-dinitrobenzene
There are 2 non-equivalent ‘a’, ‘b’ protons present in the compound. These protons give 2 signals in 1H NMR of 1,2-dinitrobenzene.

Types of protons in 1,3-dinitrobenzene
The structure shows 3 non-equivalent protons labelled as ‘a’, ‘b’, ‘c’. Thus, 3 signals are observed in the 1H NMR spectra of 1,3-dinitrobenzene.
c) 1, 4-dinitrobenzene

Types of protons in 1,4-dinitrobenzene
All the protons present are equivalent as labelled ‘a’ in the structure. Thus, this compound contributes 1 signalin 1H NMR spectra.
Thus, these compounds can be differentiated in 1H NMR spectra using the number of signals observed for each compound.