Derek has just retired, and has 400000 dollars in his retirement account. The account will earn interest at an annual rate of 10 percent, compounded…