Josh is driving from his house to his grandmother's house. If 1/3 gallon of gasoline will get Josh 1/9 of the way to his grandmother's, how many gallons of gasoline does Josh need for the entire trip?