Assuming that the question says that depreciation is calculated on a monthly basis (and does not say a full years charge in the year of purchase and none in the year of sale), then $200,000 will be depreciated for 9 months (October to end June) and $160,000 will be depreciated for 3 months (July to end September).