HOW TO FIND THE DISTANCE TRAVELED BY AN OBJECT WITH GIVEN