The answer is very simple. .
You need to determine the rate of gallons per miles
rate gallons per miles = 7 gallons / 238 miles = 0.029
So the number of gallons the vehicule uses to travel 714 miles is
714 miles * 0.029 gallons/miles = 20.706 gallons
That is the solution