Analyzing motion problems: total distance traveled