A crocodile walked 3 miles and swam 2 miles. What is the total distance traveled by the crocodile?