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.

# Answer

220
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
220
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.
train