# Well for most of the problems we can write it as C ( total cost) = Hx ( h is hourly rate, and x is just the number of hours) + F ( fixed rate)