I'm sure there's an easier way to work it out, but this is what I thought of first. For the first year the 12,000 decreases by 3% so you'd want to take away 3% of 12,000. You'd should have learnt in class that a decrease in 3% is the same as multiplying by 0.97 (if 1 represents 100%, then 0.97 represents 100%-3%) Repeat with your new figure for year 2.
Then for the last 3 years, you'll want to calculate 7% of your new total and add it on. This is the same as multiplying by 1.07 each time.
Hope this helps!