prompt: Johny traveled South 40 miles, then turned East and traveled for 20 more miles than the distance he took to travel to the south. If he turned North and traveled twice the distance he had traveled to the East, calculate the total distance his journey took.
messages.content: Johny traveled South 40 miles, then turned East and traveled for 20 more miles than the distance he took to travel to the south. If he turned North and traveled twice the distance he had traveled to the East, calculate the total distance his journey took.
messages.role: user
messages.content: If the distance he took traveling to the East is 20 miles more than the distance he took to travel to the south, he took 40+20 = 60 miles traveling to the East.
  Johny's total distance traveling to the south and then to the East is 60+40 = <<60+40=100>>100 miles.
  The journey to the North was 2*60 = <<2*60=120>>120, twice the distance he took traveling to the East.
  The whole journey took 100+120 = <<100+120=220>>220 miles.
  #### 220
messages.role: assistant