Let
x--------> the number of miles driven
y--------> the amount in dollars that Daniela paid
we know that

where
-------> represent the daily flat rate (the y-coordinate of the y-intercept of the linear equation)
-------> represent the cost per mile (the slope of the linear equation)
---------> number of miles driven