12. Accounts Payable-X, debit $10,300; Merchandise Inventory, credit $200; Cash, credit $10,100
The discount of $200 reduces the cost of the merchandise and the amount of cash paid to X.