The gas cost 8*3.5=$<<8*3.5=28>>28
The mileage expenses cost 320*.5=$<<320*.5=160>>160
So in total he paid 150+28+160=$<<150+28+160=338>>338
#### 338