So, what I did was suppose the mass of ramp is $ M_r$ and let velocity at B of block be v, then, after inellastic collsion both bodies v' velocity
at B ,
$$M\vec{v}= M_r \vec{v'}+ M \vec{v'}$$
or,
$$ \frac{M}{M +M_r} \vec{v}= \vec{v'}$$
Now,
Suppose I take the limit as mass of ramp goes to...