solve d=1/2 at^2 for t