0 Comments
Total cost for d days is T(d) = $25 + ($10/day)(d-1). For 5 days, this would come to T(5) = $25 + (5-1)($10) = $25 + $40 = $65.