I am a beginner to finance, today I found a question looks very simple that I am not quite sure about it. 

Question: Given I am paid \$50,000 now, growing at $6\%$ per year for a total of 10 years, but the discount rate is $4\%$, solve for the present value.

My thought is first calculating the nominal value in 10 years, which is $50000 \times (1+0.06)^{10}$, then discount this value using $4\%$ to get the present value.

Is there anything wrong with my idea? Thanks.