Time Value of Money Problem

You are planning your retirement in 10 years. You currently have $176,000 in a bond account and $616,000 in a stock account. You plan to add $6,400 per year at the end of each of the next 10 years to your bond account. The stock account will earn a return of 10.5 percent and the bond account will earn a return of 7 percent. When you retire, you plan to withdraw an equal amount for each of the next 24 years at the end of each year and have nothing left. Additionally, when you retire you will transfer your money to an account that earns 6.25 percent.I am NOT just looking for the answer, I’d like to know the method it took to answer the problem. Thanks again!