How much money should I invest at an annually compounded interest rate of 5% so that I have $500,000 ten years?

How would I figure this out?

Thank you! :-)

x(1.05)^10 = 500000

solve for x