Two boys are standing at the ends A and B of a ground, where AB=a. The boy at B starts running in a direction perpendicular to AB with velocity v1. The boy at A starts running simultaneously along a straight line with velocity v and catches the other boy in a time t, where t is