Final answer:
Ann's car can travel 39 miles per gallon. Using 3 gallons, Ann would have driven 117 miles. If given the distance instead, we would divide by the fuel efficiency to find the gas used.
Step-by-step explanation:
First, we calculate Ann's car's fuel efficiency by dividing the total distance it can travel by the amount of gas it uses, which is 312 miles / 8 gallons = 39 miles per gallon. Then, to find out how far Ann drove last weekend with 3 gallons of gas, we multiplied her car's fuel efficiency by the number of gallons used: 39 miles per gallon * 3 gallons = 117 miles.
If instead we were given the distance Ann drove and needed to find out how much gas she used, we would divide the distance by the car's fuel efficiency. For example, if Ann drove 117 miles, we would calculate the amount of gas as 117 miles / 39 miles per gallon = 3 gallons.