it's a series.
You have 5000*(1.06)9 + 5000*(1.06)8 ... + 5000
[they don't put any money in until the end of year 1. This $5000 is compounded over 9 years, the second $5000 compounded over 8 years etc. and then $5000 at the end of the 10th year which is not compounded. I think the question is a bit ambiguous]
= (5000*(1.06)10 - 5000)/0.06
[which you should know from geometric series]
= 65903.97