The table shows data from the mass spectra of two organic compounds, A and B. The spectra were recorded using electron impact ionisation. For each compound, the molecular ion (M+) peak and the [M+1]+ and [M+2]+ peaks are given with their relative abundances.
| Compound | m/e of M+ | Relative abundance of M+ / % | m/e of [M+1]+ | Relative abundance of [M+1]+ / % | m/e of [M+2]+ | Relative abundance of [M+2]+ / % |
|---|---|---|---|---|---|---|
| A | 122 | 100 | 123 | 8.8 | 124 | 0.5 |
| B | 124 | 100 | 125 | 9.9 | 126 | 33.0 |
Compare the mass spectra of compounds A and B. In your answer, include:
- the molecular masses of A and B
- a comparison of the number of carbon atoms in A and B, explaining how the [M+1]+ peak data supports your conclusion
- a comparison of the presence of halogen atoms (bromine and/or chlorine) in A and B, explaining how the [M+2]+ peak data supports your conclusion.