MCQ question - FAR

Hi Would someone please explain this to me? Possibly with journal entries or T accounts. I don't understand it. Thanks :) Question: Ina Co. had the following beginning and ending balances in its prepaid expense and accrued liabilities accounts for the current year: Prepaid Expenses Accrued Liabilities Beginning balance $ 5,000 $ 8,000 Ending balance 10,000 20,000 Debits to operating expenses totaled $100,000. What amount did Ina pay for operating expenses during the current year? Answer: The entry to accomplish all of these changes at one time would include an increase to prepaid expenses with a $5,000 debit, and a $100,000 debit to operating expenses. One of the credits would be needed to increase the accrued liabilities by $12,000 and the other remaining credit to finish the entry would be to cash for $5,000 + $100,000 - $12,000, or $93,000.