John is at the park playing fetch with his cat. He throws the ball 1m south, and his cat retrieves the ball and returns it to John. John then throws the ball 3 meters, and the cat again collects the ball and returns it to John. When the cat returns for the second time, what distance has the cat traveled?6m8m2m4m