=(10000*((1 + 0.05)^5))
Compound interest equation
P = C (1 + r / n) ^ nt
Where...
P = future value
C = Initial Deposit / Salary
r = interest rate / increase in wages (expressed as a share: EX = 0.05)
n = Number of times per year. Calculation of interest / payments (0 in your example)
t = number of years to calculate
source share