A and B participate in a race with acceleration a1 and a2 respectively. A reaches t times earlier than B at finish line and there velocities at finish line are v1 and v2 respectively. If difference between their velocities is v then find the value of v