Answer and Explanation:
The journal entries are shown below:
a. For increase in cash
Cash Dr $900 ($1,000 - $100)
To Account payable $900
(Being the increase in cash is recorded)
For recording this we debited the cash as it increased the assets and credited the account payable as it reduced the liabilities
b. For decrease in cash
Miscellaneous expense Dr $45
To cash $45
(Being the decrease in cash is recorded)
For recording this we debited the miscellaneous expense as it increased the expenses and credited the cash as it reduced the assets