Intercompany Transactions F10-19b

What is the eliminating entry that would be made to eliminate intercompany gain, reinstate the carrying value of the asset to is cost to the parent from a nonaffiliate, and reinstate the accumulated depreciation? 

DR: Fixed Asset

DR: Gain on sale

CR: Accumulated depreciation