allowable marketing cost is obtained by subtracting cost of goods and distribution costs and the required profit margin from the sales revenue.