please solve
On April 30, 2020, Riverbed Corporation ordered a new passenger ship, which was delivered to the designated cruise port and available for use as of June 30, 2020. Overall, the cost of the ship was $97 million, with an estimated useful life of 12 years and residual value of $30 million. Riverbed expects that the new ship, as a whole, will provide its greatest economic benefits in its early years of operation. After further research and discussion with management, it is determined that the ship consists of major parts with differing useful lives, residual values, and patterns of providing economic benefits: Pattern of Total output (nautical Part Cost Useful life Residual value benefits miles) Engines $965,000 per 8 years $110,000 per (5) engine engine Varies with activity 7 million Hull $3,900,000 10 years $505,000 Highest in early years 7.80 million Body $87.31 million 15 years $15.31 million Evenly over life of body 12.50 million The ship's first voyage took place on August 1, 2020. The ship sailed a total of 315,000 nautical miles in 2020. Riverbed prepares financial statements in accordance with IFRS. Prepare the journal entry to record the purchase of the ship, assuming that Riverbed paid cash for the purchase. (Credit account titles are automatically indented when the amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter O for the amounts. Date Account Titles and Explanation Debit Credit June 30, 2020Prepare the journal entries to record-depreciation expense for 2020. (Credit account titles are automatically indented when the amount is entered. Do not indent manually. If no entry is required, select "No Entry" for the account titles and enter O for the amounts. Do not round intermediate calculations. Round answers to O decimal places, eg. 5,275.) Date Account Titles and Explanation Debit Credit December 31, 2020 (To record depreciation on Ships Engines) December 31, 2020 V (To record depreciation on Ships Hull) December 31, 2020 (To record depreciation on Ships Body)