Essentials of college algebra and Mathematics of investment