He was stuck in traffic for 5*2=<<5*2=10>>10 hours

So his trip took 10+5=<<10+5=15>>15 hours

# Answer

15
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Tim is stuck in traffic for twice as long as he was driving.  He drove 5 hours.  How long was the trip?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
15
Tim is stuck in traffic for twice as long as he was driving.  He drove 5 hours.  How long was the trip?
train