<s>[INST] John's car ran out of gas on the highway. He walked to a gas station 2 miles away to buy a gas can and fill it with 3 gallons of gas. If it took him 1/2 hour to walk to the station, 1/4 hour to fill the gas can, and 1/2 hour to walk back to his car, how many miles did John travel in total?[/INST]