# what was the value of the shares at the end of 2007?

For 1 it's easiest to solve by brute force. The value after three years is given by $40000 \cdot 1.12^3$
The value after n years is $40000 \cdot 1.12^3 \cdot 0.84^n$