He swam 2*2=<<2*2=4>>4 miles

He ran for 2/2=<<2/2=1>>1 hour

His running speed was 2*4=<<2*4=8>>8 mph

So he ran 8*1=<<8*1=8>>8 miles

So his total distance was 8+4=<<8+4=12>>12 miles

# Answer

12
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Tom swims for 2 hours at a speed of 2 miles per hour.  He then runs for half the time at 4 times the speed.  How many miles did he cover?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
12
Tom swims for 2 hours at a speed of 2 miles per hour.  He then runs for half the time at 4 times the speed.  How many miles did he cover?
train