on a certain date , pat invested $ 6000 at x percent annual interest , compounded annually . if the total value of the investment plus interest at the end of 10 years will be $ 24000 , in how many years total will the total value of the investment plus interest increase to $ 48000 ?