Mr. Cash bought d dollars worth of stock. During the first year, the value of the stock tripled. The next year, the value of the stock decreased by $1200. (a) Write an expression in terms of d to represent the value of the stock after two years. (b) If an initial investment is $1,000, determine its value at the end of 2 years.