Canadian Wheel received an invoice dated May 13 with terms

Canadian Wheel received an invoice dated May 13 with terms 2/10, n/30, The amount stated on the invoice was $2499.
(a) What is the last day for taking the cash discount
(b) What is the amount due if the invoice is paid on the last day for taking the discount?