The total cost will be ...
... cost = 3×$32 + 1×$53 + h×$5
In dollars, that simplifies to
... cost = 5h + 149
7.2m questions
9.7m answers