I think z is the only Pareto efficient allocation as if we deviate from z to:
y then 1,2,4 are all better off but 3 is worse off
x then 1nd 4 are better off but 2 and 3 are worse off
But when we take y as allocation and deviate to:
x then 1,2,3 will be indifferent and 2 will better off!
z then 2 and 3 will better off and 1nd 4 will worse off