The formula to calculate the amount of money gained after interest with respect to time is the following:

Where "P" is the initial amount, "r" the interest rate in decimal notation, and "t" the time:
Replacing the values:

Solving the operations:

Therefore, after two years Larry will have $1008.