30 units were sold.
Take total inventory minus remaining inventory to find number of units sold (or destroyed, stolen, etc)
(20 + 40) - 30 = 30 units .
9.4m questions
12.2m answers