a = (v2-v1)/t
then use the kinematic equations to find distance, i dont remember them off the top of my head, but there are 3. your known values are v1, v2, a, and t. ue the one that has distance as an unknown, and the rest of the variables the ones that u already know