You haven't marked which one is x and which one is z.
Is it B?
Oxygen of alcohol is X and on N is z
ACC to me hybridisation of nitrogen should be sp2 because lone pair involved in resonance
Yes it is true that hybridization of nitrogen should be sp2 . But you have to go with best possible option which is B here.