Two balls A and B are thrown with speeds u and u/2