Find the final amount in the following retirement account, in which the rate of return on the account and the regular contribution change over time.
$487 per month invested at 6%, compounded monthly, for 3 years; then $795 per month invested at 7%, compounded monthly, for 3 years.
What is the amount in the account after 6 years?