I have added a calculation for finding how far the car can travel on the current gas in the tank.