Motor Sales sold its old office furniture for $9000. The original cost was $17,000, and at the time of sale, accumulated depreciation was $14,000. What is the effect of this transaction?

a. gain of $9000
b. gain of $6000
c. loss of $6000
d. loss of $9000