Answer and Explanation:
The journal entries are shown below:
a. Bad-debt expense A/c [($430,800 × 3%) - $2,864] Dr. $10,060
       To Allowance for doubtful accounts A/c  $10,060
 (Being bad-debts expense is recorded)
Here the bad debt expense is debited as it increased the expense and credited the allowance as it decreased the assets
b. Bad-debt expense A/c [($430,800 × 3%) + $887] Dr. $13,811
       To Allowance for doubtful accounts A/c  $13,811
 (Being bad-debts expense is recorded)
Here the bad debt expense is debited as it increased the expense and credited the allowance as it decreased the assets