Given:
Mass of the block, A = m
Mass of the block, B = 2m
Let the initial velocity of block A be u1 and the final velocity of block A,when it reaches the block B be v1.
Using the work-energy theorem for block A, we can write:
Gain in kinetic energy = Loss in potential energy
Let the block B just manages to reach the man's head.
i.e. the velocity of block B is zero at that point.
Again, applying the work-energy theorem for block B, we get:
As the collision is elastic, K.E. and momentum are conserved.
Block a should be started with a minimum velocity of to get the sleeping man awakened.