Answer and Explanation:
The journal entries are shown below:
1) Journal entry
On Jan 2
No journal entry is required
On Jan 2
Cash $35100
Accumulated depreciation-Machine A $24400
To Gain on sale of machine A 4500
To Machine A 55000
(Being the sale of machine A is recorded)
2) Journal entry
On Jan 2
No journal entry is required
On Jan 2
Accumulated depreciation-Machine B 7860
Loss on disposal of machine B 7940
To Machine B 15800
(Being disposal of machine B is recorded)