Pergunta de entrevista da empresa GALLO

COGS and Inventory debit and credit question