The two organic compounds which have the same molecular formula C2H6O are dimethyl ether (CH3−O−CH3) and ethanol (CH3CH2−O−H).
Dimethyl ether (CH3−O−CH3) will not react with PCl5.
Ethanol (CH3CH2−O−H) will react with PCl5.
CH3CH2−O−H+PCl5Δ−→CH3CH2−Cl+HCl+POCl3