Z, W, X, Y
Step-by-step explanation:
The mechanical advantage of each wheel and axles is given by:

where
is the length of the wheel
is the length of the axle
So, let's compute the MA for each machine:
W:

X:

Y:

Z:

So, in order from the least MA to the greatest MA, we have
Z W X Y