multiply 10,000 by .07 for 40 years equals?
I believe you want this :
10000(1.07)^40 =
about $ 149,744.58