Linear Program for this financial questions?-problem8.png

I can think of a way to model this using S_n=aS_(n-1) type notation but I don't think that's an LP. And if it is I sure don't know how to program it into LINGO. So if anyone knows how to model this LP using standard variables your help would be very much appreciated.