There are several information's already given in the question. Based on those given information's, the answer can be easily deduced.
Amount of gasoline required by the car to travel 24 miles = 1 gallon
Then
Amount of gasoline required by the car to travel 144 miles = 144/24
= 6 gallons
I hope the procedure is simple enough for you to understand. I also hope that this is the answer that you were looking for and the answer has come to your desired help.