It's a geometric series. Use the summation formula.
=40*( 1.025^(n+ 1)- 1.025)
After 10 years, you can always get back 1 1.48346 million yuan.