The velocity of the centre of mass is given by
The velocity of the CoM must thus be in the direction of the velocity of mass B. Its magnitude must be
[There is ONE correct answer above. Choose the one you think is correct and press the "Check Your Answer" button below to see if you are right.]