07. Patterns, functions & algebra