If you graph this you will have 3 points
3 hrs , $30 (3,30)
5hrs $51 (5,51)
6 hrs 61.20 (6, 61.2)
We are looking for the equation y= mx + b
m = slope b = y-intercept
slope = (y2-y1) / (x2-x1) = (51-30) / (5-3) = 21/2 = SLOPE (or 10.5)
so y = 21/2 x + b If you sub in one of the points you can find b
30 = 21/2 (3) + b
b= - 1.5
CHECK: y = 21/2 ( 6) - 1.5 = 61.50 Correct !