Answer
If the median population X is less than the median of the population Y, the ranks of the observations of the sample obtained from population X will be small and we will have a small value of the test statistic.
If the median population X is higher than the median of the population Y, the ranks of the observations of the sample obtained from population X will be large and we will have a high value of the test statistic.
Work Step by Step
Given above.