On June​ 30, Coral, Inc. finished Job 750 with total job costs of $ 4 comma 400​, and transferred the costs to Finished Goods Inventory. On July​ 6, Coral sold goods to a customer for $ 5,800 cash. Which of the following is the correct journal entry to record the cost of goods​ sold? Assume the perpetual inventory system is used.

a. debit Finished Goods Inventory $4,100 and credit Cost of Goods Sold $4,100
b. debit Cost of Goods Sold $4,100 and credit Work-in-Process Inventory $4,100
c. debit Work-in-Process Inventory $4,100 and credit Cost of Goods $4,100
d. debit Cost of Goods Sold $4,100 and credit Finished Goods Inventory $4,100