Use the image to answer the question.



A line graph shows gasoline in gallons on the x-axis and cost in dollars on the y-axis. The x-axis ranges from 0 to 16 in increments of 2. The y-axis ranges from 0 to 40 in increments of 5. A line starts at the origin and passes through plotted point X at left parenthesis 9.375 comma 30 right parenthesis.
Trisha’s mom asked her to fill up the car’s gas tank and gave her $30 . The graph shows the total cost of gas based on the number of gallons. The point X shows the number of gallons of gasoline Trisha can purchase. State, to the nearest whole, the number of gallons of gasoline she can purchase.

(1 point)
\left(2,20\right)
gallons

Based on the information given, we can see that the line passes through the point (9.375, 30). This means that Trisha can purchase approximately 9 gallons of gasoline with $30. So the nearest whole number of gallons she can purchase is 9.