20+(n-1)*10


Where n is equal to the number of hot dogs being cooked.

If more than 5, append the following: -((n-5)*5)