In North Carolina, he bought 10 gallons at $2.00/gallon for a total of 10*2 = $<<10*2=20.00>>20.00
He paid $2.00 a gallon in North Carolina and $1.00 more in Virginia for a total of 2+1 = $<<2+1=3.00>>3.00/gallon
He bought 10 gallons at $3.00/gallon in Virginia for a total of 10*3 = $<<10*3=30.00>>30.00
He spent $20.00 in North Carolina and $30.00 in Virginia for total of 20+30 = $<<20+30=50.00>>50.00
#### 50