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 .
6.0m questions
7.9m answers