Answer:
Compound A and compound B are constitutional isomers with molecular formula C3H7Cl.
When compound A is treated with sodium methoxide, a substitution reaction predominates. When compound B is treated with sodium methoxide, an elimination reaction predominates.
Explanation:
Constitutional isomers are the one which differs in the structural formula.
When compound A is treated with sodium methoxide, a substitution reaction predominates.
That means sodium methoxide is a strong base and a strong nucleophile.
But when it reacts with primary alkyl halides it forms a substitution product and when it reacts with secondary alkyl halide it forms mostly elimination product.
The reaction and the structures of A and B are shown below: