Answer and Explanation:
The journal entry is shown below:
Cash $15,000
Accumulated depreciation ($45,000 - $13,500) $31,500
To gain on sale of an equipment ($15,000 - $13,500) $1,500
To Equipment $45,000
(Being the disposal of an equipment is recorded)
For recording this we debited the cash and accumulated depreciation as it increased the assets and accumulated depreciation and credited the gain and equipment as it increased the gain and decreased the assets