The profit is computed as:
Profit = total sales - total expenses
Calling m to the number of masks sold,
total sales = 5m
Total expenses are $40, then:
P(m) = 5m - 40
1.6m questions
2.0m answers