Calculate a flat price first, then apply additional markup on top of the calculated flat price instead of applying all markup to the input price