prompt: Emerson and his friends love rowing and don't miss the sport on weekends. Starting in the morning, Emerson rowed and was 6 miles away from his starting point on a particular weekend. He continued for another 15 miles at a constant speed, only stopping for a while for rest before covering the remaining 18 miles. What's the total distance covered by Emerson on his trip?
messages.content: Emerson and his friends love rowing and don't miss the sport on weekends. Starting in the morning, Emerson rowed and was 6 miles away from his starting point on a particular weekend. He continued for another 15 miles at a constant speed, only stopping for a while for rest before covering the remaining 18 miles. What's the total distance covered by Emerson on his trip?
messages.role: user
messages.content: After the first 6 miles, he rowed 15 miles more, reaching 6+15 = <<6+15=21>>21 miles.
  After resting, he adds 18 miles more, which is 18+21 = <<18+21=39>>39 miles
  #### 39
messages.role: assistant