ZnO reacts with both acids and with bases.
In acid: ZnO+2H+→Zn2++H2O
In base: ZnO+H2O+2OH−→[Zn(OH)4]2−
This reactivity can be used to separate different çations such as zinc(II), which dissolves in base, from manganese(II), which does not dissolve in base.
Hence, x is basic while y is acidic.