Linear relations in context
In a linear relation the rate of change is represented by the slope, and the fixed amount is the value of the relation when the independent variable equals zero.
A worked example
A job lasting 5 hours costs $180 and a job lasting 12 hours costs $362, so the hourly rate is (362 - 180) / (12 - 5) = $26/h and the fixed fee is 180 - 5(26) = $50.
The mistake people actually make
Calculate the rate from the change in cost divided by the change in hours first, because dividing an entire bill by its hours incorporates the fixed fee into the rate. The fixed fee is whatever remains once the hourly charge has been subtracted.