Juan’s has tank is 1/5 full. After he buys 9 gallons of gas, it is 7/10 full. How many gallons can Juan’s tank hold?