Using the associative property, the grouping is changed, but the factors do not change. The expression is simplified correctly.