Equations for distance and velocity in freefall