In the question, the oxidation product of organic compound(X) do not answer silver mirror test but react with phenyl hydrazine,
therefore, X is propan-2-ol, which on oxidation give acetone which further react with phenyl hydrazine to give acetone phenylhydrazone, but not react give silver mirror test. The reactions involved are