Let x be the distance, t the time, v the velocity, a the acceleration, and F the force on the body. Notice that a will be negative because we are decelerating.