Alyssa wants to know the gas mileage of her new car. She kept track of the number of miles she traveled and the number of gallons she used. Which method and reasoning can Alyssa use to calculate the gas mileage in miles per gallon?