Question

Ryan’s gas tank is 1/2 full. After he buys 6 gallons of gas, it is 7/10 full. How many gallons can the gas tank hold