Bonita Industries purchased machinery for $1030000 on January 1, 2017. Straight-line depreciation has been recorded based on a $82000 salvage value and a 5-year useful life. The machinery was sold on May 1, 2021 at a gain of $27500. How much cash did Bonita receive from the sale of the machinery?
a. $138,000
b. $162,000
c. $198,000
d. $258,000