To measure how much gasoline she uses on her road trip , Hortense makes a graph that shows the amount remaining in the tank as a function of the miles she has driven ( see figure ) .