1. Using style attribute directly 2. Using class "shape_direct" directly on path and rect 3. Using class "shape_under_group" which inherits from class "group" 4. Inheriting from "group", but referencing square by id 5. Apply style rules at grouplevel 6. Apply style rules to groupand force inheritance