C3h6o2 alcohol. On addition of NaOH to C, it also gives R and water.

C3h6o2 alcohol. Vậy tên của X là A.