If you will need $25,000 to buy a new truck in 3 years, how much should you invest now at

an interest rate of 10% compounded annually?

P * 1.10^3 = 25000

P = 25000/1.10^3 = 18782.87