Ok, I will try to explain my problem in plain text:
Every year I'll withdraw $\$10$ from the bank where I have a $2.5\%$ interest rate. I have no money left after $10$ years. How much did I have from the beginning?
I've tried to come up with some kind of differential equation. But I'm probably just making in harder than it is.
If you had $X$ dollar at the beginning you will have
$$(X- c) \cdot p $$ after one year , where p=1 +2.5/100 and c=10.
Iterating this 10 times leaves you with
$$0 = (X-c)\cdot p^{10} - c \cdot \sum_{i=1}^9p^i $$
therefore you had
$$X = c \cdot \sum_{i=1}^9 p^{i-10} +c$$ in the beginning.
Edit: This solution works if you take 10$ at the beginning of each year.