Sales = Closing Debtors - opening debtors + cash from customers
= 2145 - 1215 + (40,650)
= 930 + 40,650 + 41,580