Answer:
The journal entry is as follows:
On December 31,
Bad debt expense A/c Dr. $37,869
To Allowance for doubtful accounts $37,869
(To record the uncollectible accounts as of December 31)
Working notes:
Allowance for doubtful accounts:
= Allowance for Doubtful Accounts at December 31 + Debit balance of allowance for doubtful accounts as of December 31
= $32,094 + $5,775
= $37,869