Ann Ruth wants to invest a certain sum of money at the end of each year for five years. The investment will earn 6% compounded annually. At the end of five years, she will need a total of $40,000 accumulated. How should she compute her required annual invest-ment?