Formula For Getting The Average Speed