where x1 and x2 are in metres and t is in seconds.