b) Decrease the net book value of equipment by the gain on sale, and decrease the gain on sale by the same amount. Reduce depreciation expense by gain realization in the year (intercompany gain / remaining useful life of the equipment), and increase the net book value of the equipment by the same amount.