I'm not sure about this one, not sure if I'm picturing it right, but see what you think.
First, I assume A starts to move when B has fallen 0.5m below the edge of the table.
Use v^2 = u^2 + 2as to find the speed of B at this point (3.13 m/s)
So, if this is a momentum questions, I assume we now use conservation of momentum? Momentum of B just before A starts to move is 0.5 x 3.13 = 1.56.
So momentum of total system once A also starts to move is the same as this, so the speed of the two together is momentum / mass = 1.56 /1.5
Does that sound right?