when B is having maximum velocity w.r.t. ground