The compound is definitely an alcohol and the boiling point of the compound matches with butanol. Butanol is less hygroscopic and is miscible with water. Butanol on heating with P2O5 loses water molecule forming butene (alkene)
So the compound X is butanol
Y is butene