A machine with a cost of $130,000, accumulated depreciation of $85,000, and current year depreciation expense of $17,000 is sold for $40,000 cash. The amount that should be reported as a source of cash under cash flows from investing activities is:
a. $45,000.
b. $5,000.
c. $17,000.
d. $28,000.
e. $40,000.