Answer and Explanation:
The journal entry is shown below:
Asset $42 million Â
     To Accumulated Depreciation $18 million ($42 ÷ 7 years × 3 years)
     To Retained earning $24 million ($42 ÷ 7 years × 4 years)
(Being the correct entry is recorded) Â
The asset is debited as it increased the asset and accumulated depreciation & retained earning is credited as it decreased the assets but increased the stockholder equity