Learning Math: Patterns, Functions, and Algebra