Answer
Y is a stronger acid than X because the negative charge in Y is stabilized.
Work Step by Step
The negative charge in Y is stabilized by the inductive effect from the electronegative oxygen substituent, the OH. Hence, Y is a stronger acid than X.