Investors & landlords

Thank you for your response.  I did as you suggested but how to I report the costs associated with the sale, such as broker commission?  And, seems how this was done in a single transaction, would I just divide it and apply a third to the rental property and the rest to the raw land?  And yes, we have been taking the depreciation deductions.