The correct option is A X>Z>Y
The proton on carboxylic acid is a stronger acid than those on ⊕NH3 in amino acid and ⊕−NH3(Y).
(Z) is more acidic than (Y) due to −I effect of (−COOH) group which is nearer to (Z) than (Y). Hence, the acidic order: X>Z>Y.