She used the communtative property.
This comes from the fact that this property allows to change the order in which we add terms.
9.3m questions
12.1m answers