The beginning and ending balances of the Accumulated Depreciation account were $4,000 and $1,000 respectively, and during the year a piece of equipment was sold whose accumulated depreciation was $9,000. How much was depreciation expense for the year? Use a T-account to justify your answer.