A boy starts from point A and walks 3 meters toward the north, then turns around and walks 6 meters toward the south.

What was the distance traveled by the boy?