In a car race, car A takes 20 seconds less than car B to finish and passes the finishing point with speed v more than that of car B. Assuming that both cars start from rest and travel with a constant acceleration of 50 m/s2 and 40 m/s2 respectively, what is the value of v ?