Let's take the points (2,18) and (6,40) to find the slope (or rate of change) of the linear function:
Since the slope is m=11/2 = 5.5, then the hourly fee is $5.5
Now, we can find the maintenance fee by using the slope-intercept formula with the slope that we have and any point on the table. Let's take the point (2,18) to find the maintenance fee:
we have that b = 7, this means that the maintenance fee is $7.
The equation of this function then is y = 11/2 x + 7
Finally, if we want to rent the bike for 5 hours, we have to make x=5 and solve for y:
therefore, it costs $34.5 to rent the bike for 5 hours.