Manipulating expressions using structure (example 2)