Along inclined plane the equation of motion of the body mgsin‌θ=ma‌‌∴a=gsin‌θ where a is along the inclined plane. ∴ vertical component of acceleration is (gsin‌θ)sin‌θ=gsin‌2θ (Along vertical) For block A, aA(‌ along vertical ‌)=gsin‌260∘ For block B, aB(‌ along vertical ‌)=gsin‌230∘ ∴ relative vertical acceleration of A with respect to B is ‌gsin‌260∘−gsin‌230∘ ‌=g(sin‌260−sin‌230] ‌=4.9m∕s2‌ in vertical direction ‌