How do you use the formula to solve these problems: Initial deposit of $300, for 2 years and final value is $500?