Isopentane (\ce{C5H12}) undergoes oxidation with \ce{KMnO4} to form a diol, X, which is \ce{HO-CH2-CH(CH3)-CH2OH} (a 1,3-diol). This diol reacts to form an intermediate \ce{C5H12O}, and Y is formed with Conc. HCl, leading to \ce{C5H11Cl} through chlorination.