Amanda drove for 3 hours through different traffic conditions. her average speed was 50mph for the first hour, 72 mph for the second hour, and 46 mph for the third hour. if her car's mileage is 23 miles per gallon, how many gallons did she use