How do I solve this problem? Please help?

The rate of a continuous money flow starts at $1000 and decreases exponentially at 4% per year for 10 years. Find the final amount if interest is earned at 7% compounded continuously.