Calculate the depreciation of a multi-year rental property in the year of sale.

A multi-year rental property was sold in end of Nov 2021. How can the part-year depreciation (11-mo in this case) of this rental property be calculated?

 

Thank you for your kind advice.