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? Let's think step by step and output the final answer after "####".
user
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
#### 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