Calculate your Investment and Earnings