In a car race on straight road, car A takes a times t less than car B at the finish and passes finishing point with a speed 'v' more than that of car B. Both the car start from rest and travel with constant acceleration a1 and a2 respectively. Then 'v' is equal to