Correct option is B
Given:
• Seven boxes (D, E, F, U, V, W, and X) are kept one over the other.
• Only five boxes are kept below X.
• Only three boxes are kept between F and X.
• V is kept at one of the positions below F.
• Only E is kept between X and W.
• D is kept at one of the positions above X.
From the given information arrangement will be.
1. Number the positions 1 to 7 from bottom to top (7 being the top-most position and 1 being the bottom-most position).
2. "Only five boxes are kept below X" means X is placed at the 6th position.
3. "Only three boxes are kept between F and X". Counting downwards from X (6th position), F must occupy the 2nd position ($6 - 3 - 1 = 2$).
4. "V is kept at one of the positions below F". Since F is at the 2nd position, the only position below it is the 1st position. Thus, V is at the 1st position.
5. "Only E is kept between X and W". With X at the 6th position, W must be at the 4th position so that E can occupy the 5th position exactly between them.
6. "D is kept at one of the positions above X". The only remaining position above X (6th position) is the 7th position. Thus, D is at the 7th position.
7. The remaining box U occupies the vacant 3rd position.
The final vertical arrangement from top to bottom is:

The boxes kept between V (1st position) and D (7th position) are F, U, W, E, and X. Thus, there are 5 boxes between them.
Final Answer Statement:
Five boxes are kept between V and D.
Conclusion:
Thus, the correct option is (B).