Response to the following problem:
Right on Hospital purchased an item of equipment for $40,000 on January 1, 20X1. This equipment has an estimated useful life of eight years and a 10 percent salvage value. On June 30, 20X4, the equipment is sold for $23,100.
Assuming the straight-line depreciation method, prepare the necessary entry to record the sale of the equipment.