The question doesn't make sense, for two reasons. First, if X and Y are in the pyramid already, they're either less than 3 floors apart or they're not. A priori, the answer has to be either 0 or 1. To ask a probability question here is like asking "What is the probability that New York and Chicago are more than 600 miles apart?"
But even if the question tells us they are going to be randomly assigned to floors, it still doesn't make sense to ask a probability question like this as a DS question, because there's no way to know what information should be considered sufficient to answer it. If I invent a simpler question to illustrate:
Employees A and B will be assigned to different random floors in a 3-storey office building. What is the probability they will be on adjacent floors?
1. A will be assigned to the topmost floor
2. B will not be assigned to the bottom floor
This question makes no sense as a DS question. From the stem alone, using no statements at all, we can calculate the probability they will be on adjacent floors (the answer is 2/3, because each of the three floors is equally likely to be the empty floor, and they are only not adjacent if the middle floor is empty). Then using Statement 1 alone, we have more information, so we can make a better calculation of the the probability (the answer is 1/2, because there are two floors left, one of which is adjacent to the top floor). But using Statement 2 alone, we can also calculate the probability (the answer is 3/4, which one can work out by considering the two possible cases). But then if we use both statements, we have even more information and can make an even better calculation of the probability (the answer is 1, because they must be adjacent). So is the answer A, B, C, or D? It's impossible to guess, because there's no way to tell what information we should consider sufficient to answer a question like this. A DS question simply cannot be posed this way.