forces acting on mass A ...
forces acting on mass B ...
combining equations ...
this acceleration will be constant as mass A slides up 2.8 m ... use an appropriate kinematics equation to find the velocity of mass A when mass B hits the ground.
for the last 0.2 m, the only force acting on mass A will be the component of weight acting parallel to the incline, so mass A's acceleration will change ...
use the velocity found when mass B hits the ground, the acceleration
, and the remaining displacement to find the final velocity of mass A when it hits the pulley.