The speed at which B strikes the floor is the same speed as particle A at the same moment. However, when B is brought to rest, the tension in the string becomes 0, so the only force acting on A thereafter is its weight. By this point, A has travelled 2m, leaving just 1.8m between it and the pulley. Use F = ma to find out A's deceleration; now, you have A's initial velocity, you have the distance it travels to reach the pulley, you have its deceleration, and that's all you need to work out its final velocty once it's reached the pulley.