Two fixed frictionless inclined plane making an angle and with the vertical are shown in the figure. Two block and are placed on the two planes. What is the relative vertical acceleration of with respect to ?

The planes are smooth, so each block accelerates only under the component of gravity that acts parallel to its incline.
Let be the angle an incline makes with the horizontal. The acceleration of a block sliding down a smooth incline is then
The statement “plane makes an angle with the vertical” means it makes an angle with the horizontal.
Case A (block )
Given: incline makes with the vertical.
Hence with the horizontal.
Acceleration along the plane:
The direction of motion is along the plane, which is away from the vertical. Therefore the vertical component of is
Case B (block )
Given: incline makes with the vertical.
Hence with the horizontal.
Acceleration along the plane:
The motion is away from the vertical, so its vertical component is
Relative vertical acceleration of with respect to (downward taken as positive):
Therefore the relative acceleration is in the vertical (downward) direction.
Option D which is: ms in vertical direction
Tagged Motion on inclined planes and wedges. Machine-assigned, so read it as a strong shortlist rather than a verdict.