2. Patterns, Functions & Algebra