Distance with Changing Speed