On March 14, Apple Corporation purchased 6,000 shares of Pear Inc. for $25 per share plus a $340 brokerage fee. On June 30, when the shares were trading at $27, Apple prepared an adjustment to fair value and recorded the annual dividend of $0.40 per share. On August 14, Apple sold 4,000 shares of Pear for $29 per share less a brokerage fee of $225. The journal entry at the date of sale would include

a) a debit to cash for $115,775.
b) a debit to cash for $108,000.
c) a credit to investments for $100,000.
d) a credit to gain on the sale of investments for $8,000.