In a car race, car A takes 4 seconds less than car B at the finish and passes the finishing point with a velocity v more than the car B.

Assuming that the cars start from rest and travel with constant accelerations a1 = 4 ms^-2 and a2 = 1 ms^-2 respectively.

Find the velocity v in m/s.