Joe filled up his car with gas before embarking on a road trip across the country. The capacity of Joe’s gas tank is 12 gallons, and after driving for four hours, there were 4 gallons of gas left in the tank. Write an equation for G, in terms of T, representing the number of gallons of gas remaining in Joe’s gas tank after T hours of driving.
G=