The $15 is constant
Let the hours be x
Since the charge per hour is $10
Then it means that the total cost increase by $ 10 every hour
If x is the number of hours
Then total cost = 15 + 10 X x
Total cost => 15 + 10x
If the total cost is represented by T
then T = 15 + 10x
when re-arranged
T = 10x + 15. This is a linear function
comparing the above equation to the equation of a line y = mx + c
with m being the slope
comparing coefficient, m = 10
the slope of the equation is 10
The slope of the linear function is 10