To solve the question,
Let the rental fee be represented by y
Let the hourly fee be represented by x
To get the equation of the situation which is a sum of the two fees.
From the graph, the rental fee (y) and hourly fee can be obtained by picking two points from the graph
If we select the first point (2,10) where time = 2 hours and cost = $10
Also selecting the second point (6,20) where time = 6 hours and cost = $20
The equation can be obtained by using the formula:
From the above, y2 = 20, x2 = 6
y1 = 10, x1 = 2
Substituting into the formula, we will obtain:
The next step is to cross multiply
5 (x - 2) = 2 (y - 10)
Expanding
5x -10 = 2y -20
Re-arranging
2y = 5x - 10 + 20
2y = 5x + 10
Divide both sides by 2
Answer is y = 2.5x + 5