GALLO Interview Question

COGS and Inventory debit and credit question