Explain the calculation of net sales and net purchases.

Explain the calculation of net sales and net purchases.