We begin with an unknown initial investment value, which we will call P. This value is what we are solving for.
The amount in the account on January 1st, 2015 before Carol withdraws $1000 is found by the compound interest formula A = P(1+r/n)^(nt) ; where A is the amount in the account after interest, r is the interest rate, t is time (in years), and n is the number of compounding periods per year.
In this problem, the interest compounds annually, so we can simplify the formula to A = P(1+r)^t. We can plug in our values for r and t. r is equal to .025, because that is equal to 2.5%. t is equal to one, so we can just write A = P(1.025).
We then must withdraw 1000 from this amount, and allow it to gain interest for one more year.
The principle in the account at the beginning of 2015 after the withdrawal is equal to 1.025P - 1000. We can plug this into the compound interest formula again, as well as the amount in the account at the beginning of 2016.