Since all information given about rental time is in hours and about rental cost is in dollars, so the unit for rental time is hours and for rental cost is dollars.
The cost for 2 hours is $20, so the given value 1 for rental time is 2 and for rental cost is 20.
The cost for 10 hours is $68, so the given value 2 for rental time is 10 and for rental cost is 68.
To calculate the slope m between two points (x1, y1) and (x2, y2) we can use the formula below:
So, using the points (2, 20) and (10, 68), we have:
Then, to calculate the y-intercept, let's use the point (2, 20) in the slope-intercept form of the equation:
So the expression to calculate the rental cost y after x hours is:
For question 1, let's use x = 8 and calculate y:
So the cost is $56.
For question 2, let's use y = 50 and calculate x:
So we can rent for 7 hours.