Compute the amount to be paid for each of the four separate

Compute the amount to be paid for each of the four separate invoices assuming that all invoices are paid within the discount period.
Merchandise (gross)            Terms       
a. $5,000                           2∕10, n∕60  

b. $20,000                        1∕15, n/90

c. $75,000                         1∕10, n∕30

d. $10,000                        3∕15, n∕45